Problem Built-in Bundler with JSZip


I’m trying to use JSZip with Aurelia’s build-in bundler. The result is always a “maximum call stack size exceeded” error because of missing process, Buffer, … For some reasons it looks like JSZip behaves like in a node process instead of browser.

Does someone already have some experience with that?
I’ve created a demo, if someone wants to help

Adding JSZip to aurelia.json “prepend” results in an even more strange error.
Btw is there an option to disable a specific package from being traced and added by the bundler?

Thanks for any help!

1 Like

It’s in “Known problem of auto stubbing core Node.js modules”.

1 Like