-
Notifications
You must be signed in to change notification settings - Fork 71
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
TS files outside project dir not being parsed -- microbundle
uses outdated version of rpt2
#295
Comments
So the syntax error you've written down here isn't from rpt2 but from Babel -- that's not an rpt2 error. I'm reading the downstream issue though and I've rewritten the title to match. Per downstream, it sounds like this may be a duplicate of #216 You're also using |
I recently fixed a big issue with symlinks in #332, so I decided to investigate more of the monorepo / symlink issues to see if they were fixed as well or if I could fix them. I created a fork here with some small modifications (I don't believe they actually affect anything, only the Added loggingI then modified the local rpt2 installation within
No logging for
|
Got it to workCan see my fork and read through the detailed commit log to understand it, but I'll summarize here too.
|
microbundle
uses outdated version of rpt2
Also can confirm that #216 works with a newer rpt2 version as well, so both of these are resolved 🙂 |
Submitted a PR downstream to fix this in |
Thank you so much @agilgur5, you inspired me today! Hope to collaborate again in the future. |
What happens and why it is wrong
Environment
TS files outside the project directory being parsed as Flow files instead of TS
I am experiencing this when using microbundle to bundle my monorepo projects/packages
Original issue:
developit/microbundle#808
Repro:
https://github.com/icaro-capobianco/bundle-bug-repro
The text was updated successfully, but these errors were encountered: