js-waku-examples/examples/noise-rtc/webpack.config.js
Sasha 95d13a52db
PoC of WebRTC signalling exchange through @waku/noise (#186)
* init PoC from noise example

* reimplement webrtc logic, add sending of ice candidate to a peer

* add RTC abstractions and pretify code

* finalize rtc connection

* fix sending of the message

* add favicon and manifest, rename package, rename build folder

* add README with details

* fix styling

* add new stage for the example
2023-01-27 23:09:13 +01:00

20 lines
380 B
JavaScript

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