docker-compiler-nextjs/tsconfig.json

29 lines
673 B
JSON
Raw Permalink Normal View History

2024-12-29 08:11:54 +00:00
{
"compilerOptions": {
"target": "ES2017",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
2024-12-29 09:25:34 +00:00
"allowSyntheticDefaultImports": true, // 允许合成默认导入
2024-12-29 08:11:54 +00:00
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./src/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
}