@xenon.js/configs
Version:
All common configuration related to JavaScript.
18 lines (17 loc) • 714 B
JSON
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": [
"./base.json",
],
"compilerOptions": {
// FUTURE 截止 3.8.2,Cocos 默认的配置是 ES2015,但其行为更像是 ESNext,所以在这改为 ESNext
"target": "ESNext",
// FUTURE 截止 3.8.2,Cocos 默认的配置是 ES2015,但其行为更像是 ESNext,所以在这改为 ESNext
"module": "ESNext",
// FUTURE 截止 3.8.2,Cocos 默认的配置是 Node,但其行为更像是 Bundler,所以在这改为 Bundler
"moduleResolution": "Bundler",
"noEmit": true,
"experimentalDecorators": true,
"allowImportingTsExtensions": true,
},
}