chore: tsconfig-Anpassungen von Next 16 übernehmen
Next setzt beim Bauen jsx auf react-jsx und ergänzt seinen Typpfad. Wird das zurückgedreht, schreibt es der nächste Build wieder hin. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
1876ae4c6b
commit
24a799d6ba
+8
-3
@@ -4,7 +4,7 @@
|
||||
"lib": ["dom", "dom.iterable", "ES2022"],
|
||||
"module": "esnext",
|
||||
"moduleResolution": "bundler",
|
||||
"jsx": "preserve",
|
||||
"jsx": "react-jsx",
|
||||
"allowJs": true,
|
||||
"skipLibCheck": true,
|
||||
"esModuleInterop": true,
|
||||
@@ -21,7 +21,11 @@
|
||||
"exactOptionalPropertyTypes": true,
|
||||
"verbatimModuleSyntax": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"plugins": [{ "name": "next" }],
|
||||
"plugins": [
|
||||
{
|
||||
"name": "next"
|
||||
}
|
||||
],
|
||||
"paths": {
|
||||
"@/*": ["./src/*"]
|
||||
}
|
||||
@@ -32,7 +36,8 @@
|
||||
"**/*.tsx",
|
||||
".next/types/**/*.ts",
|
||||
"vitest.config.ts",
|
||||
"playwright.config.ts"
|
||||
"playwright.config.ts",
|
||||
".next/dev/types/**/*.ts"
|
||||
],
|
||||
"exclude": ["node_modules", ".next", "out"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user