mirror of
https://github.com/ritz078/transform.git
synced 2026-11-21 00:32:56 +03:00
* Upgrade Next.js to 9 * Add back engines key * Add globalObject Brings in suggestion from https://github.com/zeit/next.js/issues/7873#issuecomment-512795482 * Add temporary fix for window issue
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"compileOnSave": false,
|
|
"compilerOptions": {
|
|
"target": "esnext",
|
|
"jsx": "preserve",
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"allowSyntheticDefaultImports": true,
|
|
"resolveJsonModule": true,
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": true,
|
|
"removeComments": false,
|
|
"preserveConstEnums": true,
|
|
"sourceMap": true,
|
|
"skipLibCheck": true,
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@styles/*": ["./styles/*"],
|
|
"@components/*": ["./components/*"],
|
|
"@constants/*": ["./constants/*"],
|
|
"@workers/*": ["./workers/*"],
|
|
"@utils/*": ["./utils/*"],
|
|
"@hooks/*": ["./hooks/*"],
|
|
"@assets/*": ["./assets/*"]
|
|
},
|
|
"lib": ["dom", "es2016", "webworker"],
|
|
"typeRoots": ["./node_modules/@types", "./typings/npm"],
|
|
"skipDefaultLibCheck": true,
|
|
"allowJs": true,
|
|
"strict": false,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"isolatedModules": true
|
|
},
|
|
"exclude": ["static", "public", ".next", "node_modules"],
|
|
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"]
|
|
}
|