Get wasm build running in browser

This commit is contained in:
Danny McGee
2023-09-28 23:33:08 -04:00
parent 842f985c23
commit bc8994a780
28 changed files with 3832 additions and 131 deletions
+8 -4
View File
@@ -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": {