Setup wasm config for Bevy app

This commit is contained in:
Danny McGee
2023-09-27 15:33:55 -04:00
parent f85ead10b0
commit 9482cfb794
4 changed files with 26 additions and 6 deletions
+11 -3
View File
@@ -1,5 +1,5 @@
{
"name": "hello_world",
"name": "hello-world",
"$schema": "../node_modules/nx/schemas/project-schema.json",
"projectType": "application",
"sourceRoot": "./hello-world/src",
@@ -12,11 +12,19 @@
"configurations": {
"production": {
"release": true
},
"web": {
"release": true,
"target": "wasm32-unknown-unknown"
}
}
},
"launch": {
"executor": "@nxrs"
"run": {
"executor": "@nxrs/cargo:build",
"options": {
"release": false,
"run": true
}
},
"test": {
"executor": "@nxrs/cargo:test",