Files
nym/clients/webassembly/js-example/webpack.config.js
T

16 lines
366 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: { syncWebAssembly: true }
};