-
Notifications
You must be signed in to change notification settings - Fork 45
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
Can't parser JSX #176
Comments
It seems the latest 4.1.0 shipped with wrong dist files. I think this is the second time we got wrong dist files (maybe only the second time we noticed). I will make sure to add step to clean up tsc cache before bundle. |
It's probably from rollup-plugin-typescript2 ezolenko/rollup-plugin-typescript2#262 I will add clean: true. |
I will release a patch tonight when I got back to home mac. |
v4.1.1 fixed the issue. I think rollup-plugin-typescript2 has some bug on invalidating cache. One ts file may be affected by multiple ts files (especially those only provide typing, but yield no js file). |
Thanks! |
Hi 👋 . I help maintain I haven't been able to reproduce that specific issue and don't think it's related to this problem. If you believe this has to do with type-only files per your previous comment
then it could very well be due to ezolenko/rollup-plugin-typescript2#7 instead, which indeed points out that the cache's module graph may not correctly set dependencies ("One ts file may be affected by multiple ts files") between modules when it comes to type-only files Just thought I'd correct that for posterity and future reference, as well as give a possible root cause based on the comments here. |
Wanted to update here that ezolenko/rollup-plugin-typescript2#7 has been fixed by ezolenko/rollup-plugin-typescript2#406 and released in rpt2 |
Self closing can parse
but
Did I do something wrong?
The text was updated successfully, but these errors were encountered: