mirror of
https://github.com/waku-org/js-noise.git
synced 2025-02-24 17:08:10 +00:00
20 lines
377 B
JavaScript
20 lines
377 B
JavaScript
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']
|
|
})
|
|
],
|
|
};
|