Webpack UMD library with dynamic imports produces a ChunkLoadError when importing it in another project

139 views Asked by At

I'm writing a UMD library with webpack and when I try to import it in another project (for testing), it produces a "ChunkLoadError". The error goes away when I use normal imports.

I'm trying to create a small library with code splitting.

0

There are 0 answers