Files
nym/clients/webassembly/js-example/webpack.config.js
T
Dave Hrycyszyn 95d0afdeb6 Whitespace fix
2022-09-14 11:49:06 +01:00

16 lines
367 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({ patterns: ['index.html'] })
],
experiments: { asyncWebAssembly: true }
};