9995067bbe
- 修改es兼容模式为es6
33 lines
714 B
JSON
33 lines
714 B
JSON
{
|
|
"compilerOptions": {
|
|
"rootDir": "./src/",
|
|
"outDir": "./dist/es/",
|
|
"declaration": true,
|
|
"declarationDir": "./dist/types/",
|
|
"target": "ES6",
|
|
"useDefineForClassFields": true,
|
|
"module": "ES6",
|
|
"lib": ["DOM", "DOM.Iterable"],
|
|
"skipLibCheck": true,
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
// "allowImportingTsExtensions": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
// "noEmit": true,
|
|
|
|
/* Linting */
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true
|
|
},
|
|
"include": ["src/**/*.ts"],
|
|
"references": [
|
|
{
|
|
"path": "./tsconfig.node.json"
|
|
}
|
|
]
|
|
}
|