js-noise/example/webpack.config.js

20 lines
377 B
JavaScript
Raw Normal View History

2022-12-06 23:01:56 -04:00
const CopyWebpackPlugin = require("copy-webpack-plugin");
const path = require('path');
module.exports = {
entry: "./index.js",
output: {
path: path.resolve(__dirname, "dist"),
filename: "index.js",
},
experiments: {
asyncWebAssembly: true,
},
mode: "development",
plugins: [
new CopyWebpackPlugin({
patterns: ['index.html']
})
],
};