Update wasm-beep to webpack 5 (#684)
This commit is contained in:
parent
7e17373e31
commit
a9b34ea8bc
3 changed files with 5561 additions and 4772 deletions
|
|
@ -14,8 +14,13 @@ module.exports = {
|
|||
path: dist,
|
||||
filename: "[name].js"
|
||||
},
|
||||
experiments: {
|
||||
syncWebAssembly: true
|
||||
},
|
||||
devServer: {
|
||||
contentBase: dist,
|
||||
static: {
|
||||
directory: dist
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
new HtmlWebpackPlugin({
|
||||
|
|
@ -23,7 +28,7 @@ module.exports = {
|
|||
}),
|
||||
new WasmPackPlugin({
|
||||
crateDirectory: __dirname,
|
||||
extraArgs: "--out-name index"
|
||||
outName: "index"
|
||||
}),
|
||||
]
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue