here_be_dragons/demo/www/webpack.config.js
2020-10-17 22:27:05 +02:00

15 lines
351 B
JavaScript

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: [
new CopyWebpackPlugin(['index.html', { from: 'assets', to: 'assets' }])
],
};