-
-
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
Use import in nodejs will cause error #1449
Comments
Perhaps this helps #202 |
Thank you. |
you could use this as a workaround.
@fathyb Any idea why this doesn't work? |
What I mean is that koa has no default export, but parcel thinks it has a default export, and set |
Related to #1378 Parcel needs to understand |
@mohsen1 you are right, thanks |
Solution (replace
|
β Question
Use import in nodejs will cause error.
π¦ Context
When I use parcel to package a node application written in typescript, I can only use require to reference third-party dependencies.
π» Code Sample
π Your Environment
The text was updated successfully, but these errors were encountered: