Closed
Description
Bug report
Describe the bug
When I run next dev
and some of the "required" Next.js options are missing (even non-critical ones like forceConsistentCasingInFileNames
), my tsconfig.json
is completely rewritten – my comments are deleted and the file is re-formatted.
To Reproduce
- Start
next dev
- In
tsconfig.json
, removeforceConsistentCasingInFileNames
and add some comment. - Start
next dev
again - Observe that your comment is deleted
Expected behavior
My tsconfig.json
is my tsconfig.json
😄.
System information
- OS: macOS
- Version of Next.js: 9.0.2
Additional context
This is from the "TypeScript support is too eager in v9" bucket, IMO. Some more issues I'd regard in that category are e.g. #7687 or #8065 (though they are about different things).
Activity