mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
c17f28201d
* module division * update * update * small fix * allow co-existing of physics modules * update * upgrade rollup-plugin-node-resolve * refine build engine cli * fix * upgrade rollup plugin commonjs * fix * mark physics module as required
60 lines
1.4 KiB
JSON
60 lines
1.4 KiB
JSON
{
|
|
"$schema": "./tools/division-config-schema.json",
|
|
"items": [
|
|
{
|
|
"name": "Base",
|
|
"required": true,
|
|
"entry": "base",
|
|
"default": true
|
|
},
|
|
{
|
|
"name": "Animation",
|
|
"entry": "animation",
|
|
"default": true
|
|
},
|
|
{
|
|
"name": "GFX",
|
|
"required": true,
|
|
"options": [
|
|
{
|
|
"name": "WebGL 1.0",
|
|
"entry": "gfx-webgl"
|
|
},
|
|
{
|
|
"name": "WebGL 2.0",
|
|
"entry": "gfx-webgl2"
|
|
}
|
|
],
|
|
"default": true,
|
|
"defaultOption": 0
|
|
},
|
|
{
|
|
"name": "Primitives",
|
|
"entry": "primitives",
|
|
"default": true
|
|
},
|
|
{
|
|
"name": "Physics",
|
|
"options": [
|
|
{
|
|
"name": "Built-in",
|
|
"entry": "physics-builtin"
|
|
},
|
|
{
|
|
"name": "cannon.js",
|
|
"entry": "physics-cannon"
|
|
},
|
|
{
|
|
"name": "ammo.js",
|
|
"entry": "physics-ammo"
|
|
}
|
|
],
|
|
"required": true,
|
|
"defaultOption": 0
|
|
},
|
|
{
|
|
"name": "tween.js Adapter",
|
|
"entry": "tween"
|
|
}
|
|
]
|
|
} |