mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 21:55:11 +00:00
59 lines
1.4 KiB
JSON
59 lines
1.4 KiB
JSON
{
|
|
// https://www.totaltypescript.com/tsconfig-cheat-sheet
|
|
"compilerOptions": {
|
|
/* Base options: */
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"target": "es2022",
|
|
"allowJs": true,
|
|
"resolveJsonModule": true,
|
|
"moduleDetection": "force",
|
|
"isolatedModules": true,
|
|
"verbatimModuleSyntax": true,
|
|
/* Strictness */
|
|
"strict": true,
|
|
// TODO: enable noUncheckedIndexedAccess
|
|
// "noUncheckedIndexedAccess": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noImplicitOverride": true,
|
|
/* If NOT transpiling with TypeScript: */
|
|
"module": "preserve",
|
|
"noEmit": true,
|
|
/* If your code runs in the DOM: */
|
|
"lib": [
|
|
"es2022",
|
|
"webworker",
|
|
"dom",
|
|
"dom.iterable"
|
|
],
|
|
"paths": {
|
|
"#app": [
|
|
"./packages/nuxt/src/app/index"
|
|
],
|
|
"#app/*": [
|
|
"./packages/nuxt/src/app/*"
|
|
],
|
|
"#internal/nitro": [
|
|
"./node_modules/nitropack/dist/runtime"
|
|
],
|
|
"#internal/nitro/app": [
|
|
"./node_modules/nitropack/dist/runtime/app"
|
|
],
|
|
"#internal/nitro/utils": [
|
|
"./node_modules/nitropack/dist/runtime/utils"
|
|
]
|
|
}
|
|
},
|
|
"exclude": [
|
|
"**/dist/**",
|
|
"**/.nuxt/**",
|
|
"**/nuxt.d.ts",
|
|
"**/examples/**",
|
|
"**/docs/**",
|
|
"**/playground/**",
|
|
"**/test/nuxt/**",
|
|
"**/test/fixtures/**",
|
|
"**/test/fixtures-temp/**"
|
|
]
|
|
}
|