-
Notifications
You must be signed in to change notification settings - Fork 18
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
Comments in tsconfig are not supported #45
Comments
hi,
versions:
my tsconfig.json, which might be horrible since i am new to typescript, and especially because i guess i have to try to base it off of parcel's hidden internal default? At any rate, when i do "tsc -p ." i do not get any errors fwiw.
|
Had the same problem (without comments in the tsconfig.json), got rid of it by adding an empty "parelTsPluginOptions under compileroptions. Like so: |
On further inspection a trailing comma from inside the compilerOptions might be what caused this. Removed the line I mentioned above and a trailing comma and the "Unexpected token }" error is now gone. @raould : try to change your config to this:
|
Hi all,
The default typescript loader works fine for me, but after I install parcel-plugin-typescript and restart parcel, this error appear. (and no type check result )
This is my tsconfig.json:
Let me know if you need more information.
The text was updated successfully, but these errors were encountered: