Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Installation fails if tsconfig.json contains comment #84

Open
SegaraRai opened this issue Feb 10, 2020 · 0 comments
Open

Installation fails if tsconfig.json contains comment #84

SegaraRai opened this issue Feb 10, 2020 · 0 comments

Comments

@SegaraRai
Copy link

SegaraRai commented Feb 10, 2020

Since tsconfig.json allows comments (and trailing commas), some tsconfig.json cannot be parsed by JSON.parse().
https://github.com/kazupon/vue-cli-plugin-i18n/blob/master/generator/index.js#L136-L141

I found some libraries which can parse JSON with comments, but I'm not sure which one is suitable.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant