Skip to main content

Bundling

Always use bundling to some degree in production. Commonly used vendor scripts should always be bundles, but however be aware that bundles do not grow too large. Bundling tools such as webpack provide an efficient way to split bundles when they grow too large.

 

TODO : bundles do not grow too large - what is the guidelines here?

Example of bundling