2023-01-05 23:56:56 +00:00
|
|
|
const CopyWebpackPlugin = require("copy-webpack-plugin");
|
|
|
|
const path = require("path");
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
entry: "./index.js",
|
|
|
|
output: {
|
2023-01-26 17:25:02 +00:00
|
|
|
path: path.resolve(__dirname, "build"),
|
2023-01-05 23:56:56 +00:00
|
|
|
filename: "index.js",
|
|
|
|
},
|
|
|
|
experiments: {
|
|
|
|
asyncWebAssembly: true,
|
|
|
|
},
|
|
|
|
mode: "development",
|
|
|
|
plugins: [
|
|
|
|
new CopyWebpackPlugin({
|
2023-01-06 00:03:31 +00:00
|
|
|
patterns: ["index.html", "favicon.ico", "favicon.png", "manifest.json"],
|
2023-01-05 23:56:56 +00:00
|
|
|
}),
|
|
|
|
],
|
|
|
|
};
|