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": {
|
||||
"allowJs": true,
|
||||
/* Path Aliases */
|
||||
"baseUrl": ".",
|
||||
"checkJs": true,
|
||||
/* Base Options: */
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"incremental": true,
|
||||
"isolatedModules": true,
|
||||
"jsx": "preserve",
|
||||
/* Bundled projects */
|
||||
"lib": ["dom", "dom.iterable", "esnext"],
|
||||
"module": "ESNext",
|
||||
"moduleDetection": "force",
|
||||
"moduleResolution": "Bundler",
|
||||
"noEmit": true,
|
||||
"noUncheckedIndexedAccess": true,
|
||||
"paths": {
|
||||
"~/*": ["./src/*"]
|
||||
},
|
||||
"plugins": [
|
||||
{
|
||||
"name": "next"
|
||||
}
|
||||
],
|
||||
"resolveJsonModule": true,
|
||||
"skipLibCheck": true,
|
||||
/* Strictness */
|
||||
"strict": true,
|
||||
"target": "esnext"
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"out",
|
||||
"dist",
|
||||
"headers",
|
||||
"kyselyRules",
|
||||
".kanelrc.js"
|
||||
],
|
||||
"include": [
|
||||
"src",
|
||||
"next-env.d.ts",
|
||||
"next.config.ts",
|
||||
"postcss.config.cjs",
|
||||
"reset.d.ts",
|
||||
"TypeHelpers.type.ts",
|
||||
"public",
|
||||
"emails",
|
||||
".next/types/**/*.ts",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
/* Path Aliases */
|
||||
"baseUrl": ".",
|
||||
"checkJs": true,
|
||||
/* Base Options: */
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"incremental": true,
|
||||
"isolatedModules": true,
|
||||
"jsx": "react-jsx",
|
||||
/* Bundled projects */
|
||||
"lib": [
|
||||
"dom",
|
||||
"dom.iterable",
|
||||
"esnext"
|
||||
],
|
||||
"module": "ESNext",
|
||||
"moduleDetection": "force",
|
||||
"moduleResolution": "Bundler",
|
||||
"noEmit": true,
|
||||
"noUncheckedIndexedAccess": true,
|
||||
"paths": {
|
||||
"~/*": [
|
||||
"./src/*"
|
||||
]
|
||||
},
|
||||
"plugins": [
|
||||
{
|
||||
"name": "next"
|
||||
}
|
||||
],
|
||||
"resolveJsonModule": true,
|
||||
"skipLibCheck": true,
|
||||
/* Strictness */
|
||||
"strict": true,
|
||||
"target": "esnext"
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"out",
|
||||
"dist",
|
||||
"headers",
|
||||
"kyselyRules",
|
||||
".kanelrc.js"
|
||||
],
|
||||
"include": [
|
||||
"src",
|
||||
"next-env.d.ts",
|
||||
"next.config.ts",
|
||||
"postcss.config.cjs",
|
||||
"reset.d.ts",
|
||||
"TypeHelpers.type.ts",
|
||||
"public",
|
||||
"emails",
|
||||
".next/types/**/*.ts",
|
||||
"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