mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
39be7183a5
- Add "jsx": "preserve" to tsconfig.json - Rename lib to production-server to remove incompatibility with other examples Context: https://github.com/zeit/next.js/pull/3838#issuecomment-370189242 and below
31 lines
609 B
JSON
31 lines
609 B
JSON
{
|
|
"compileOnSave": false,
|
|
"compilerOptions": {
|
|
"target": "esnext",
|
|
"module": "esnext",
|
|
"jsx": "preserve",
|
|
"allowJs": true,
|
|
"moduleResolution": "node",
|
|
"allowSyntheticDefaultImports": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"removeComments": false,
|
|
"preserveConstEnums": true,
|
|
"sourceMap": true,
|
|
"skipLibCheck": true,
|
|
"baseUrl": ".",
|
|
"typeRoots": [
|
|
"./node_modules/@types"
|
|
],
|
|
"lib": [
|
|
"dom",
|
|
"es2015",
|
|
"es2016"
|
|
],
|
|
"outDir": "production-server/"
|
|
},
|
|
"include": [
|
|
"server/**/*.ts"
|
|
]
|
|
}
|