-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Dependency with jsx doesn't work #1330
Comments
I've the same issue, slightly different circumstances where I have a project configured using Lerna and need to compile imported (local) packages within that architecture. |
If you own the dependency you can set the |
What do you mean? |
This fixes my original issue thanks. |
Is it possible to do this without symlinks? I am trying to use an I did try putting |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. |
🐛 bug report
since parcel v1.5 requiring an npm-installed dependency with jsx modules doesn't work - Parcel doesn't process the jsx file.
🎛 Configuration (.babelrc, package.json, cli command)
.babelrc
:command:
🤔 Expected Behavior
The jsx files are transpiled and made a part of the bundle
😯 Current Behavior
An error is thrown:
💁 Possible Solution
The only fix I've found is to downgrade parcel to version <1.5, which is obviously undesirable
🔦 Context
We have a library of jsx components that we install via npm.
💻 Code Sample
https://github.com/kuba-orlik/parcel-rep
🌍 Your Environment
The text was updated successfully, but these errors were encountered: