@xenon.js/ts-config
Version:
TypeScript config used by the Xenon Studio.
17 lines (16 loc) • 586 B
JSON
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": [
"./base.json",
],
"compilerOptions": {
"target": "ES2015",
// NOTE 截止 3.8.2,Cocos 默认的配置是 ES2015,但其行为更像是 ESNext,所以在这改为 ESNext
"module": "ESNext",
// NOTE 截止 3.8.2,Cocos 默认的配置是 Node,但其行为更像是 Bundler,所以在这改为 Bundler
"moduleResolution": "Bundler",
"noEmit": true,
"experimentalDecorators": true,
"allowImportingTsExtensions": true,
},
}