mirror of
https://github.com/status-im/js-waku-examples.git
synced 2025-01-19 11:32:11 +00:00
95d13a52db
* 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
20 lines
380 B
JavaScript
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"],
|
|
}),
|
|
],
|
|
};
|