rust-wasm-playground/www/webpack.config.js

15 lines
311 B
JavaScript
Raw Normal View History

2020-10-10 22:41:31 +01:00
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'])
],
};