bundling, precompiling, transforming, factor out, extract text, code splitting, commons chunks, post-loaders, wtf, yadda yadda yadda … to send css and js files to our friend browser.
autocomplete.js styles.css Browser autocomplete.jquery.js styles.css Programmer jquery.js page1.js page2.js autocomplete.jquery.js styles.css page1.min.js jquery.js load me first load me on page 2 before jquery load me on page1 load me on page2 load me everywhere compress page2.min.js
- module has dependencies -> load order - browser gets small entry files - more shared code BUT - manual concat is a pain (amd fallback) - .less and .js has separate dependency trees
more stuff: - analyse - https://webpack.github. io/analyse/ - dev server hot module replacement - https://webpack.github.io/docs/hot- module-replacement.html - production builds