重构WASM架构:移除npm包中的WASM文件,改为独立发布 - 移除自动WASM加载逻辑 - 添加手动initializeWasm API - 创建专门的WASM发布包构建脚本 - 更新Cocos Creator使用指南

This commit is contained in:
YHH
2025-06-09 15:54:34 +08:00
parent 94c050bacb
commit 996a7f3ddf
10 changed files with 839 additions and 29 deletions

View File

@@ -28,6 +28,7 @@
"build:watch": "tsc --watch",
"rebuild": "npm run clean && npm run clean:wasm && npm run build",
"build:npm": "npm run build && node scripts/build-rollup.js",
"build:wasm-release": "node scripts/build-wasm-release.js",
"test:benchmark": "npm run build && node bin/Testing/Performance/benchmark.js",
"test:unit": "npm run build && node bin/Testing/test-runner.js",
"benchmark": "node scripts/benchmark.js",
@@ -56,4 +57,4 @@
"type": "git",
"url": "https://github.com/esengine/ecs-framework.git"
}
}
}