examples.waku.org/examples/rln-js/webpack.config.js
Sasha 698afe4dab
feat: simplify rln-js (#297)
* remove old rln-js

* feat: simplify rln-js

* remove comment

* add example to CI
2024-01-24 20:51:13 +01:00

20 lines
433 B
JavaScript

const CopyWebpackPlugin = require("copy-webpack-plugin");
const path = require("path");
module.exports = {
entry: "./src/index.js",
output: {
path: path.resolve(__dirname, "build"),
filename: "./index.js",
},
experiments: {
asyncWebAssembly: true,
},
mode: "development",
plugins: [
new CopyWebpackPlugin({
patterns: ["index.html", "favicon.ico", "favicon.png", "manifest.json"],
}),
],
};