While creating angular-element, multiple chunk files are generated. How to I merge all of them into one

731 views Asked by At

I have created an angular element and bundled it using ngx-build-plus. After bundling, other than the main,vendor, polyfills etc, I have 100+ chunk files in my dist folder.

How do I merge them all into one file. How do I use these files in another JavaScript app?

dist folder

1

There are 1 answers

1
ekimpl On

Did you try --single-bundle true? https://github.com/manfredsteyer/ngx-build-plus