I have two questions/ideas around Webpack code splitting and common chunks in the config of the PWA template that I haven't been able to verify myself yet:
If a node module is only imported by a single async Vue component, will that node module end up in the vendor chunk or the Vue component chunk?
Will a 'commons' chunk be created if more than one aysnc Vue component imports the same js file (one which I've created, not a node module)? Or is it included with each Vue component chunk?
I have two questions/ideas around Webpack code splitting and common chunks in the config of the PWA template that I haven't been able to verify myself yet: