20a675dbb0
Former-commit-id: b7c5404a7e0b8db8c652b1b2f4bbaf12287860af
15 lines
339 B
JavaScript
15 lines
339 B
JavaScript
const CopyWebpackPlugin = require("copy-webpack-plugin");
|
|
const path = require('path');
|
|
|
|
module.exports = {
|
|
entry: "./bootstrap.js",
|
|
output: {
|
|
path: path.resolve(__dirname, "dist"),
|
|
filename: "bootstrap.js",
|
|
},
|
|
mode: "development",
|
|
plugins: [
|
|
new CopyWebpackPlugin(['index.html', '../../../assets/icon.svg'])
|
|
],
|
|
};
|