mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
cd7e644694
* Update logo in README * add pal/audio * deprecate property * support wechat game AudioPlayer * unify minigame interface * optimize module name * support native audio # Conflicts: # @types/jsb.d.ts * add runtime platform * fix module * support build native virtual module update update * update module name * remove jsb-audio.js * revert @rollup/plugin-alias * add quickCompiler field in cc.config.json * fix audio can't stop when paused * fix esLint & ci * fix ci update * update ccConfigJson * add NOTE * readonly maxAudioChannel * add description for interface OneShotAudio * volume range * range for seeking * loadNative return Promise<unknown> * remove quickCompile field in cc.config.json Co-authored-by: pandamicro <lphuabin@gmail.com> Co-authored-by: Jare Guo <jareguo@users.noreply.github.com>
45 lines
1.1 KiB
JSON
45 lines
1.1 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,
|
|
"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/@cocos/ammo/Ammo",
|
|
"./node_modules/@cocos/physx/PhysX",
|
|
"./node_modules/@types/jest/index",
|
|
|
|
// pal
|
|
"./@types/pal/minigame",
|
|
"./@types/pal/audio"
|
|
]
|
|
},
|
|
"include": [
|
|
"exports/**/*.ts",
|
|
"index.ts",
|
|
"pal/**/*.ts"
|
|
]
|
|
}
|