chore: update tsconfig.json to use 'react-jsx' for JSX transformation
This commit is contained in:
parent
867dbe4a4f
commit
d79d7c5c6c
1 changed files with 65 additions and 59 deletions
|
|
@ -1,61 +1,67 @@
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
/* Path Aliases */
|
/* Path Aliases */
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"checkJs": true,
|
"checkJs": true,
|
||||||
/* Base Options: */
|
/* Base Options: */
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"incremental": true,
|
"incremental": true,
|
||||||
"isolatedModules": true,
|
"isolatedModules": true,
|
||||||
"jsx": "preserve",
|
"jsx": "react-jsx",
|
||||||
/* Bundled projects */
|
/* Bundled projects */
|
||||||
"lib": ["dom", "dom.iterable", "esnext"],
|
"lib": [
|
||||||
"module": "ESNext",
|
"dom",
|
||||||
"moduleDetection": "force",
|
"dom.iterable",
|
||||||
"moduleResolution": "Bundler",
|
"esnext"
|
||||||
"noEmit": true,
|
],
|
||||||
"noUncheckedIndexedAccess": true,
|
"module": "ESNext",
|
||||||
"paths": {
|
"moduleDetection": "force",
|
||||||
"~/*": ["./src/*"]
|
"moduleResolution": "Bundler",
|
||||||
},
|
"noEmit": true,
|
||||||
"plugins": [
|
"noUncheckedIndexedAccess": true,
|
||||||
{
|
"paths": {
|
||||||
"name": "next"
|
"~/*": [
|
||||||
}
|
"./src/*"
|
||||||
],
|
]
|
||||||
"resolveJsonModule": true,
|
},
|
||||||
"skipLibCheck": true,
|
"plugins": [
|
||||||
/* Strictness */
|
{
|
||||||
"strict": true,
|
"name": "next"
|
||||||
"target": "esnext"
|
}
|
||||||
},
|
],
|
||||||
"exclude": [
|
"resolveJsonModule": true,
|
||||||
"node_modules",
|
"skipLibCheck": true,
|
||||||
"out",
|
/* Strictness */
|
||||||
"dist",
|
"strict": true,
|
||||||
"headers",
|
"target": "esnext"
|
||||||
"kyselyRules",
|
},
|
||||||
".kanelrc.js"
|
"exclude": [
|
||||||
],
|
"node_modules",
|
||||||
"include": [
|
"out",
|
||||||
"src",
|
"dist",
|
||||||
"next-env.d.ts",
|
"headers",
|
||||||
"next.config.ts",
|
"kyselyRules",
|
||||||
"postcss.config.cjs",
|
".kanelrc.js"
|
||||||
"reset.d.ts",
|
],
|
||||||
"TypeHelpers.type.ts",
|
"include": [
|
||||||
"public",
|
"src",
|
||||||
"emails",
|
"next-env.d.ts",
|
||||||
".next/types/**/*.ts",
|
"next.config.ts",
|
||||||
"tests"
|
"postcss.config.cjs",
|
||||||
],
|
"reset.d.ts",
|
||||||
"ts-node": {
|
"TypeHelpers.type.ts",
|
||||||
// these options are overrides used only by ts-node
|
"public",
|
||||||
// same as the --compilerOptions flag and the TS_NODE_COMPILER_OPTIONS environment variable
|
"emails",
|
||||||
"compilerOptions": {
|
".next/types/**/*.ts",
|
||||||
"module": "commonjs"
|
"tests"
|
||||||
}
|
],
|
||||||
}
|
"ts-node": {
|
||||||
|
// these options are overrides used only by ts-node
|
||||||
|
// same as the --compilerOptions flag and the TS_NODE_COMPILER_OPTIONS environment variable
|
||||||
|
"compilerOptions": {
|
||||||
|
"module": "commonjs"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue