glimmerjs/glimmer-build

Support comments in tsconfig.json

tomdale opened this issue · 1 comments

TypeScript supports comments in tsconfig.json, but @glimmer/build currently reads the file in and uses JSON.parse() to parse it, which fails if there are comments. In practice, it means there are some valid tsconfig.json files in the wild that will fail with when used with this tool.

dgeb commented

We should probably use strip-json-comments prior to parsing.