mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-28 08:58:07 +00:00
Get wasm build running in browser
This commit is contained in:
@@ -12,13 +12,17 @@
|
||||
"configurations": {
|
||||
"production": {
|
||||
"release": true
|
||||
},
|
||||
"web": {
|
||||
"release": true,
|
||||
"target": "wasm32-unknown-unknown"
|
||||
}
|
||||
}
|
||||
},
|
||||
"build:web": {
|
||||
"executor": "nx:run-commands",
|
||||
"options": {
|
||||
"command": "wasm-pack build --out-dir ../dist/hello-world/ -- --features wasm",
|
||||
"cwd": "hello-world",
|
||||
"env": "hello-world/.env"
|
||||
}
|
||||
},
|
||||
"run": {
|
||||
"executor": "@nxrs/cargo:build",
|
||||
"options": {
|
||||
|
||||
Reference in New Issue
Block a user