-
-
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
ESM imports not working #9474
Comments
devlop uses package exports: https://unpkg.com/browse/[email protected]/package.json You have to opt into them when using Parcel: https://parceljs.org/features/dependency-resolution/#package-exports |
@mischnic but how to ignore the for example, those dynamic imports are in i.e. |
@ttodua
in your project root's package json. |
Discussed in #9462
Originally posted by LucasC-S January 3, 2024
Not sure if this is 100% related to parcel or the packages themselves, but I am trying to use remark-math and rehype-katex with a react app I am using parcel to build. However, when I try and build I get a number of errors where the modules themselves have failed imports. Here is an example:
The stuff I have found about this from the unified team all indicates that it is a problem with the resolver (eg. this also happens with jest) and not any unified packages. Any help would be greatly appreciated!!
The text was updated successfully, but these errors were encountered: