Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use jsonc parser to parse a config file
This fixes a problem where the `typescript` VSCode task runs `tsc` with `-p` when it should run `-b` when `tsconfig.json` has the `"references"` property. ```js { "extends": "./tsconfig.app.json", // meow "references": [{ "path": "./tsconfig.lib.json" }] } ``` This bug happens because while `tsconfig.json` file allows comment, the parsing logic here uses vanilla `JSON.parse` which cannot parse comments. This commit fixes it by using `jsonc.parse` instead.
- Loading branch information