mirror of
https://github.com/QingWei-Li/notea.git
synced 2024-11-29 23:44:37 +03:00
dbb6e75810
Next.js@12: Next.js 12 should provide better performance and stuffs. .babelrc: .babelrc has been removed to take advantage of Next.js' SWC backend (which offers faster build times) - if the file was still present, Babel would automatically be chosen over SWC. .yarnclean: Commented out the "images" yarnclean directive, as it was causing issues with Next.js. next-pwa: next-pwa has been updated, and next.config.js has been updated to use its newer API. react: React has been updated to React 18. The @types package could not use the latest version due to some issues with the package itself. rich-markdown-editor: rich-markdown-editor could not be updated due to issues with theming. BREAKING-CHANGE: Next.js and React have been upgraded to their later versions.
26 lines
741 B
JSON
26 lines
741 B
JSON
{
|
|
"compilerOptions": {
|
|
"allowJs": true,
|
|
"alwaysStrict": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"isolatedModules": true,
|
|
"jsx": "preserve",
|
|
"lib": ["dom", "es2017", "webworker"],
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"noEmit": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"resolveJsonModule": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"target": "esnext",
|
|
"baseUrl": ".",
|
|
"incremental": true
|
|
},
|
|
"exclude": ["node_modules"],
|
|
"include": ["**/*.ts", "**/*.tsx", "additional.d.ts"]
|
|
}
|