mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-12 07:17:13 +00:00
50 lines
1.1 KiB
JSON
50 lines
1.1 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,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noUncheckedSideEffectImports": 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/*"
|
|
]
|
|
}
|
|
},
|
|
"exclude": [
|
|
"**/dist/**",
|
|
"**/.nuxt/**",
|
|
"**/nuxt.d.ts",
|
|
"**/examples/**",
|
|
"**/docs/**",
|
|
"**/playground/**",
|
|
"**/test/nuxt/**",
|
|
"**/test/fixtures/**",
|
|
"**/test/fixtures-temp/**"
|
|
]
|
|
}
|