mirror of https://gitee.com/godoos/godoos.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.2 KiB
44 lines
1.2 KiB
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"noEmitOnError": false,
|
|
//"target": "esnext",
|
|
"useDefineForClassFields": true,
|
|
"module": "ESNext",
|
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
"skipLibCheck": true,
|
|
//"strict": true, // js/ts 混用时设为false
|
|
"importHelpers": true,
|
|
//"moduleResolution": "node",
|
|
"experimentalDecorators": true,
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"sourceMap": true,
|
|
"noImplicitThis": true, // js/ts 混用时设为false
|
|
/* Bundler mode */
|
|
"moduleResolution": "node",
|
|
"allowImportingTsExtensions": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"jsx": "preserve",
|
|
|
|
/* Linting */
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"baseUrl": "./",
|
|
"outDir": "./",
|
|
"paths": {
|
|
"@/*": ["./src/*"],
|
|
"~/*": ["./wailsjs/*"],
|
|
}
|
|
},
|
|
"include": ["src/**/*.ts","wailsjs/**/*.ts","wailsjs/**/*.js","src/**/**/*.ts", "src/**/*", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
|
|
"exclude": [
|
|
"dist",
|
|
"node_modules"
|
|
],
|
|
"references": [{ "path": "./tsconfig.node.json" }]
|
|
}
|
|
|