You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I realized that the library uses local imports of known libraries such as /buffer/process and so on
When we use it within Nuxt and trying to build for edge, such as cloudflare pages, and it uses https://github.com/unjs/unenv to optimize deps for edge providers, but unfortunately it resolves buffer/ as a Buffer (which typically comes from node itself)
I just wonder if this is a happy solution, maybe it would be better to change import names, to be obvious that it depends on local versions of this packages.
Hi,
I realized that the library uses local imports of known libraries such as
/buffer
/process
and so onWhen we use it within Nuxt and trying to build for edge, such as cloudflare pages, and it uses https://github.com/unjs/unenv to optimize deps for edge providers, but unfortunately it resolves
buffer/
as a Buffer (which typically comes from node itself)I just wonder if this is a happy solution, maybe it would be better to change import names, to be obvious that it depends on local versions of this packages.
What do you think? :)
original issue: nuxt/nuxt#29978
The text was updated successfully, but these errors were encountered: