-
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!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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 |
Beta Was this translation helpful? Give feedback.
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