|
11 | 11 | "profiling": "npm run setup && npm run wasm:build-profiling && concurrently -k -n \"VITE,RUST\" \"vite\" \"npm run wasm:watch-profiling\"", |
12 | 12 | "production": "npm run setup && npm run wasm:build-production && concurrently -k -n \"VITE,RUST\" \"vite\" \"npm run wasm:watch-production\"", |
13 | 13 | "---------- BUILDS ----------": "", |
14 | | - "build": "npm run wasm:build-production && vite build", |
15 | | - "build-dev": "npm run wasm:build-dev && vite build --mode dev", |
16 | | - "build-native": "npm run native:build-production && vite build", |
17 | | - "build-native-dev": "npm run native:build-dev && vite build --mode dev", |
18 | | - "build-profiling": "npm run wasm:build-profiling && vite build --mode dev", |
| 14 | + "build": "npm run setup && npm run wasm:build-production && vite build", |
| 15 | + "build-dev": "npm run setup && npm run wasm:build-dev && vite build --mode dev", |
| 16 | + "build-profiling": "npm run setup && npm run wasm:build-profiling && vite build --mode dev", |
| 17 | + "build-native": "npm run setup && npm run native:build-production", |
| 18 | + "build-native-dev": "npm run setup && npm run native:build-dev", |
19 | 19 | "---------- UTILITIES ----------": "", |
20 | 20 | "lint": "eslint . && tsc --noEmit", |
21 | 21 | "lint-fix": "eslint . --fix && tsc --noEmit", |
22 | 22 | "---------- INTERNAL ----------": "", |
23 | 23 | "setup": "node package-installer.js", |
24 | 24 | "postinstall": "node branding-installer.js", |
25 | | - "native:build-dev": "wasm-pack build ./wasm --dev --target=web --no-default-features --features native", |
26 | | - "native:build-production": "wasm-pack build ./wasm --release --target=web --no-default-features --features native", |
| 25 | + "native:build-dev": "wasm-pack build ./wasm --dev --target=web --no-default-features --features native && vite build --mode dev", |
| 26 | + "native:build-production": "wasm-pack build ./wasm --release --target=web --no-default-features --features native && vite build", |
27 | 27 | "wasm:build-dev": "wasm-pack build ./wasm --dev --target=web", |
28 | 28 | "wasm:build-profiling": "wasm-pack build ./wasm --profiling --target=web", |
29 | 29 | "wasm:build-production": "wasm-pack build ./wasm --release --target=web", |
|
0 commit comments