joonhocho/tscpaths

tsconfig.json with comments does not work (in particular, `tsc --init`)

patarapolw opened this issue · 1 comments

Actually, require(PATH_TO_TSCONFIG_JSON) will break, if tsconfig.json has comments. I didn't inserted the comments myself, but npx tsc --init did.

Not really sure how tsc internally read JSON with comments...

0x80 commented

I ran into this issue as well. It's really helpful that Typescript allows using comments in JSON files. Would be great if you can support this.