Ionic3 Webpack Chunks

Hi all, I’m struggling with a need to have my project build with a handful of node_modules libraries separated out of vendor.js into a separate file called mylibs.js. I posted this question to Stack Overflow here, but I didn’t get a satisfactory answer for Ionic3.

I’ve tried hacking down in the node_modules/@ionic/app-scripts folder to modify the webpack config, but I can’t seem to figure out the right set of incantations to both keep the catch-all vendor.js and generate an additional library containing the node_modules I specify as targets for mylibs.js. Has anyone successfully accomplished anything like this in Ionic 3? I could really use some help with this.

1 Like

Same question here. Did you manage to solve this?