新增wasm以优化实体update速度
This commit is contained in:
21
source/asconfig.json
Normal file
21
source/asconfig.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"targets": {
|
||||
"debug": {
|
||||
"outFile": "bin/ecs-core.wasm",
|
||||
"textFile": "bin/ecs-core.wat",
|
||||
"sourceMap": true,
|
||||
"debug": true
|
||||
},
|
||||
"release": {
|
||||
"outFile": "bin/ecs-core.wasm",
|
||||
"optimizeLevel": 3,
|
||||
"shrinkLevel": 2,
|
||||
"converge": false,
|
||||
"noAssert": false
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"bindings": "esm",
|
||||
"exportRuntime": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user