Webpack is your Achilles’ Heel
How much time do you spend configuring webpack when you should be improving the overall architecture of your site |
|
Webpack Concepts
Entry Point - the starting point of your application’s dependency graph |
|
Resolve - instructions on how to resolve files |
|
Output - tells webpack how to write the bundled code to disk |
|
Loaders - transforms html, scss/css, jpg into modules that are part of your application dependency |
|
Plugins - performs actions on your compilations / chunks. They do anything that loaders don’t |
|
A Beginner’s Guide to Webpack 2 and Module Bundling
How to chain webpack loaders:
|
|