Update npm dependencies
This commit is contained in:
parent
a7d7d219a8
commit
67822f9f31
3 changed files with 2600 additions and 4215 deletions
6641
package-lock.json
generated
6641
package-lock.json
generated
File diff suppressed because it is too large
Load diff
12
package.json
12
package.json
|
@ -4,15 +4,15 @@
|
|||
"version": "0.1.0",
|
||||
"scripts": {
|
||||
"build": "rimraf dist pkg && webpack",
|
||||
"start": "rimraf dist pkg && webpack-dev-server --open -d",
|
||||
"start": "rimraf dist pkg && webpack-dev-server --open",
|
||||
"test": "cargo test && wasm-pack test --headless"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@wasm-tool/wasm-pack-plugin": "^1.1.0",
|
||||
"copy-webpack-plugin": "^5.0.3",
|
||||
"webpack": "^4.42.0",
|
||||
"webpack-cli": "^3.3.3",
|
||||
"webpack-dev-server": "^3.7.1",
|
||||
"rimraf": "^3.0.0"
|
||||
"copy-webpack-plugin": "^11.0.0",
|
||||
"rimraf": "^3.0.0",
|
||||
"webpack": "^5.75.0",
|
||||
"webpack-cli": "^5.0.0",
|
||||
"webpack-dev-server": "^4.11.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,13 +13,21 @@ module.exports = {
|
|||
path: dist,
|
||||
filename: "[name].js"
|
||||
},
|
||||
experiments: {
|
||||
asyncWebAssembly: true,
|
||||
syncWebAssembly: true
|
||||
},
|
||||
devServer: {
|
||||
contentBase: dist,
|
||||
static: {
|
||||
directory: dist,
|
||||
}
|
||||
},
|
||||
plugins: [
|
||||
new CopyPlugin([
|
||||
path.resolve(__dirname, "static")
|
||||
]),
|
||||
new CopyPlugin({
|
||||
patterns: [
|
||||
"static"
|
||||
]
|
||||
}),
|
||||
|
||||
new WasmPackPlugin({
|
||||
crateDirectory: __dirname,
|
||||
|
|
Loading…
Add table
Reference in a new issue