Files
cocos4/tsconfig.json
T
PP 0b353b6e14 feat: support general WASM module in engine (#14974)
* support pal/wasm module

pal/wasm

* support sys.Feature.WASM and WASM_SUPPORT_MODE

# Conflicts:
#	pal/system-info/web/system-info.ts

# Conflicts:
#	pal/system-info/web/system-info.ts

# Conflicts:
#	pal/system-info/web/system-info.ts

* optimize bullet module


* update physx module

update

* revert tsconfig

* optimize WebGPU wasm import

* fix native wasm instantiate

* support wasm in EDITOR and PREVIEW

* optimize variable name

* update comment

* optimize code

* Update cocos/misc/webassembly-support.ts

* add physx wasm (#11) by yiwenxue

* add physx wasm

* update physx wasm instantiate.

* update, rename, etc.

* download external in CI

* fix physX wasm init

* move out external wasm type

* update external-config.json

* expand node max-old-space-size

* use console.debug

---------

Co-authored-by: Yiwen <15225434259xue@gmail.com>
2023-05-08 18:02:17 +08:00

56 lines
1.4 KiB
JSON

{
"compilerOptions": {
"target": "es6",
"lib": ["es2015", "es2017", "dom"],
"module": "commonjs",
"sourceMap": true,
"outDir": "./bin/.ts",
"rootDir": "./",
"noEmit": true,
"strict": true,
"noImplicitAny": false,
"downlevelIteration": true,
"esModuleInterop": true,
"experimentalDecorators": true,
"isolatedModules": true,
"forceConsistentCasingInFileNames": true,
"baseUrl": "./",
"paths": {
"cc.decorator": [
"cocos/core/data/decorators/index.ts"
]
},
"types": [
"./@types/globals",
"./@types/consts",
"./@types/jsb",
"./@types/editor-extends",
"./@types/webGL.extras",
"./@types/webGL2.extras",
"./node_modules/@cocos/cannon/CANNON",
"./node_modules/@types/jest/index",
// external types
"./native/external/emscripten/external-wasm",
"./native/external/emscripten/bullet/bullet",
"./native/external/emscripten/physx/physx",
"./native/external/emscripten/webgpu/webgpu",
// pal
"./@types/pal/system-info",
"./@types/pal/screen-adapter",
"./@types/pal/minigame",
"./@types/pal/audio",
"./@types/pal/input",
"./@types/pal/env",
"./@types/pal/pacer",
"./@types/pal/wasm",
]
},
"include": [
"exports/**/*.ts",
"typedoc-index.ts",
"pal/**/*.ts"
]
}