mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-11 23:52:03 +03:00
2ccdbd9337
* Upgraded the webpack examples' npm dependencies which (among other things) upgrades them to webpack 5 For the weather_report, had to choose the syncWebAssembly experiment, whereas the rest works fine with asyncWebAssembly * Fix the weather report example compilation by adding it to the main workspace. This currently fails with: error: current package believes it's in a workspace when it's not: current: <project-root>/examples/weather_report/Cargo.toml workspace: <project-root>/Cargo.toml * Fix the build of the webxr example with webpack 5 * run cargo fmt
18 lines
354 B
JSON
18 lines
354 B
JSON
{
|
|
"scripts": {
|
|
"build": "webpack",
|
|
"serve" : "webpack serve"
|
|
},
|
|
"dependencies": {
|
|
"webxr": "./pkg"
|
|
},
|
|
"devDependencies": {
|
|
"@wasm-tool/wasm-pack-plugin": "1.5.0",
|
|
"text-encoding": "^0.7.0",
|
|
"html-webpack-plugin": "^5.3.2",
|
|
"webpack": "^5.49.0",
|
|
"webpack-cli": "^4.7.2",
|
|
"webpack-dev-server": "^3.11.2"
|
|
}
|
|
}
|