Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parcel-resolver-typescript-module: Ts config error invalid_json #2

Open
MaxAller opened this issue Jul 22, 2024 · 1 comment
Open

Comments

@MaxAller
Copy link

The build normally works fine, but after adding this plugin I get parcel-resolver-typescript-module: Ts config error invalid_json. I'm using a variant of the tsconfig generated when you init a ts project, which has a lot of comments in the JSON, which isn't technically valid, but ts handles just fine. I think this module is having issues with that, though.

@caio-oliv
Copy link
Owner

Yeah, this error is thrown from parsing a invalid json (with JSON.parse), which doesn't accept comments or trailing commas.

I published a new version (0.1.9) that uses JSON5 to parse json files. This issue is probably fixed now.

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

No branches or pull requests

2 participants