here_be_dragons/demo/www/webpack.config.js

15 lines
351 B
JavaScript
Raw Normal View History

2020-09-14 09:46:48 +00:00
const CopyWebpackPlugin = require("copy-webpack-plugin");
const path = require('path');
module.exports = {
entry: "./bootstrap.js",
output: {
path: path.resolve(__dirname, "../../docs"),
filename: "bootstrap.js",
},
mode: "development",
plugins: [
2020-10-17 20:27:05 +00:00
new CopyWebpackPlugin(['index.html', { from: 'assets', to: 'assets' }])
2020-09-14 09:46:48 +00:00
],
};