a7c24aca6f
Fixes #64018 Adds support for modern configurations introduced in TS 5.4 Expected output: not modifying the `module`, `esModuleInterop` configs since `module: preserve` is present ``` We detected TypeScript in your project and reconfigured your tsconfig.json file for you. Strict-mode is set to false by default. The following suggested values were added to your tsconfig.json. These values can be changed to fit your project's n eeds: - lib was set to dom,dom.iterable,esnext - allowJs was set to true - skipLibCheck was set to true - strict was set to false - noEmit was set to true - incremental was set to true - include was set to ['next-env.d.ts', '**/*.ts', '**/*.tsx'] - exclude was set to ['node_modules'] The following mandatory changes were made to your tsconfig.json: - isolatedModules was set to true (requirement for SWC / Babel) - jsx was set to preserve (next.js implements its own optimized jsx transform) ``` --------- Co-authored-by: Jiachi Liu <inbox@huozhi.im> |
||
---|---|---|
.. | ||
.stats-app | ||
development | ||
e2e | ||
examples | ||
integration | ||
lib | ||
production | ||
unit | ||
.gitignore | ||
build-turbopack-build-tests-manifest.js | ||
build-turbopack-dev-tests-manifest.js | ||
build-turbopack-tests-manifest.d.ts | ||
get-test-filter.js | ||
jest-setup-after-env.ts | ||
ppr-tests-manifest.json | ||
readme.md | ||
test-file.txt | ||
tsconfig.json | ||
turbopack-build-tests-manifest.json | ||
turbopack-dev-examples-manifest.json | ||
turbopack-dev-tests-manifest.json |