This is the first part of a three-part introduction into webpack:
- Bundling front-end and adding compilation (you are here!)
- Decreasing front-end size and improving caching
- Speeding up build and improving the development workflow
Want to stay tuned for the future posts? Subscribe
What is webpack
Webpack is a front-end bundler. And a front-end bundler is a tool that combines multiple modules into a single file called bundle:
While the main purpose of webpack is bundling, it also has a lot of other abilities. For example, webpack can compile your front-end, split your code into multiple files or optimize your bundle size. I’m reviewing many of these abilities in this series of posts.
... read the whole story at iamakulov.com.