2021-03-18 14:26:41 +00:00
|
|
|
{
|
2024-06-07 20:08:57 +00:00
|
|
|
// https://www.totaltypescript.com/tsconfig-cheat-sheet
|
2021-03-18 14:26:41 +00:00
|
|
|
"compilerOptions": {
|
2024-06-07 20:08:57 +00:00
|
|
|
/* Base options: */
|
|
|
|
"esModuleInterop": true,
|
2021-04-09 13:48:39 +00:00
|
|
|
"skipLibCheck": true,
|
2024-06-07 20:08:57 +00:00
|
|
|
"target": "es2022",
|
2021-03-18 14:26:41 +00:00
|
|
|
"allowJs": true,
|
|
|
|
"resolveJsonModule": true,
|
2024-06-07 20:08:57 +00:00
|
|
|
"moduleDetection": "force",
|
|
|
|
"isolatedModules": true,
|
|
|
|
"verbatimModuleSyntax": true,
|
|
|
|
/* Strictness */
|
|
|
|
"strict": true,
|
|
|
|
// TODO: enable noUncheckedIndexedAccess
|
|
|
|
// "noUncheckedIndexedAccess": true,
|
2024-09-09 21:23:30 +00:00
|
|
|
"noUncheckedSideEffectImports": true,
|
2024-06-07 20:08:57 +00:00
|
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
"noImplicitOverride": true,
|
|
|
|
/* If NOT transpiling with TypeScript: */
|
|
|
|
"module": "preserve",
|
|
|
|
"noEmit": true,
|
|
|
|
/* If your code runs in the DOM: */
|
|
|
|
"lib": [
|
|
|
|
"es2022",
|
2024-07-01 20:00:14 +00:00
|
|
|
"webworker",
|
2024-06-07 20:08:57 +00:00
|
|
|
"dom",
|
|
|
|
"dom.iterable"
|
2021-08-11 20:28:38 +00:00
|
|
|
],
|
|
|
|
"paths": {
|
2021-10-02 16:01:17 +00:00
|
|
|
"#app": [
|
2022-04-20 08:52:39 +00:00
|
|
|
"./packages/nuxt/src/app/index"
|
2021-10-02 16:01:17 +00:00
|
|
|
],
|
|
|
|
"#app/*": [
|
2022-04-20 08:52:39 +00:00
|
|
|
"./packages/nuxt/src/app/*"
|
2022-04-29 09:38:22 +00:00
|
|
|
],
|
2022-08-12 17:47:58 +00:00
|
|
|
"#internal/nitro": [
|
|
|
|
"./node_modules/nitropack/dist/runtime"
|
|
|
|
],
|
2023-03-16 16:27:10 +00:00
|
|
|
"#internal/nitro/app": [
|
|
|
|
"./node_modules/nitropack/dist/runtime/app"
|
|
|
|
],
|
2022-08-12 17:47:58 +00:00
|
|
|
"#internal/nitro/utils": [
|
|
|
|
"./node_modules/nitropack/dist/runtime/utils"
|
|
|
|
]
|
2021-08-11 20:28:38 +00:00
|
|
|
}
|
2021-04-09 13:48:39 +00:00
|
|
|
},
|
2021-08-11 17:12:21 +00:00
|
|
|
"exclude": [
|
2022-08-26 15:47:29 +00:00
|
|
|
"**/dist/**",
|
2021-10-12 17:53:36 +00:00
|
|
|
"**/.nuxt/**",
|
2022-04-29 09:38:22 +00:00
|
|
|
"**/nuxt.d.ts",
|
|
|
|
"**/examples/**",
|
|
|
|
"**/docs/**",
|
|
|
|
"**/playground/**",
|
2024-06-07 15:57:37 +00:00
|
|
|
"**/test/nuxt/**",
|
2023-07-02 08:59:16 +00:00
|
|
|
"**/test/fixtures/**",
|
2024-06-07 15:57:37 +00:00
|
|
|
"**/test/fixtures-temp/**"
|
2021-08-11 17:12:21 +00:00
|
|
|
]
|
2021-03-18 14:26:41 +00:00
|
|
|
}
|