2024-04-07 19:10:38 +08:00
|
|
|
{
|
|
|
|
"compilerOptions": {
|
|
|
|
"rootDir": "./src/",
|
|
|
|
"outDir": "./dist/es/",
|
2024-04-09 14:55:33 +08:00
|
|
|
"declaration": true,
|
|
|
|
"declarationDir": "./dist/types/",
|
2024-04-09 16:19:59 +08:00
|
|
|
"target": "ES6",
|
2024-04-07 19:10:38 +08:00
|
|
|
"useDefineForClassFields": true,
|
2024-04-09 16:19:59 +08:00
|
|
|
"module": "ES6",
|
|
|
|
"lib": ["DOM", "DOM.Iterable"],
|
2024-04-07 19:10:38 +08:00
|
|
|
"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"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|