How to load @imagemagic/magick-wasm dist/mjs module in a Next.js app? #147
Unanswered
lancejpollard
asked this question in
Q&A
Replies: 1 comment 4 replies
-
I forgot I can't try and figure out how to build it myself :(
Can you make that package available so I can try and create a new build por favor? :) |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am getting this on v0.28 of magick-wasm:
Is there a way we could bundle a lower-level .js file instead of the mjs in the dist? Something without
import
andexport
statements? I also had this problem with the pdfjs library. I'm not sure yet how to get Next.js to compile/transpile mjs files from external packages, so will reach out to them as well. But if you have any thoughts here, I'm all ears, would really like to see this running again.Beta Was this translation helpful? Give feedback.
All reactions