Jun 2017 edit: 3 was just released! The syntax for 3.x is identical to 2.x, which means this article is still up-to-date (if I missed something, please comment!). The version bump was for more behind-the-scenes stuff, but it did add an easy-to-add “Scope Hoisting” plugin that can cut down on your bundle size that’s worth checking out! Jump to the bottom of this article for the “Upgrading to 3” sec
![Getting Started with webpack – Insightful Software](https://cdn-ak-scissors.b.st-hatena.com/image/square/672d6e5a12f708347f5f9849d3269acd01007f3c/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fresize%3Afit%3A1200%2F1%2AyI44h8Df-l-2LUqvXIi8JQ.png)