Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tsconfig): support tsconfig.json files with comments
Built-in JSON.parse() doesn't allow json with comments, but `tsconfig.json` files support comments. By using `json5` instead of native JSON we prevent errors when trying to parse such json files with comments Even though Typescript uses 'jsonc-parser' [here](https://github.com/microsoft/TypeScript/blob/5439c8111de50fa6ea239f95fc23c76dc868fc07/scripts/build/utils.mjs#L78-L81), we can use json5, because it is a superset of jsonc syntax.
- Loading branch information