Image for post
Image for post
To support millions of features, use-cases, and needs, it takes a secure, stable, reliable, and scale-able foundation. Only with webpack, are the possibilities limitless!

🚀webpack 4 beta — try it today!🚀

The road to stable release!

Sean T. Larkin
Jan 25, 2018 · 6 min read
Image for post
Image for post
Git contribution stats for the webpack next branch at a glance using gitinspector! Try it on your project to see insights. PS: This doesn’t include the incredible work done in our webpack-cli team and webpack-contrib organization supporting our loaders and plugins.

What’s new in webpack 4?

🚀Performance

🔥Better Defaults — #0CJS

Image for post
Image for post
webpack 4.0.0-beta.0 running a build w/o a configuration! #0CJS 🔥

💪Better Defaults — mode

🍰sideEffects — Huge win for bundle sizes

We originally called this feature “pure-module”. This is now called “sideEffects”

🌳JSON Support & Tree Shaking

😍Upgrade to UglifyJS2

Image for post
Image for post
UglifyJS2 now supports ES6 JavaScript syntax!

🐐 Module Type’s Introduced + .mjs support

🔬WebAssembly Support

💀Goodbye CommonsChunkPlugin

💖And so much more!

⌚The clock starts now


webpack

The official Medium publication for the webpack open source…

Thanks to Florent Cailhol, Tobias Koppers, and John Reilly

Sean T. Larkin

Written by

@Webpack Core team & AngularCLI team. Program Manager @Microsoft @EdgeDevTools. Web Performance, JavaScripter, Woodworker, 🐓 Farmer, and Gardener!

webpack

webpack

The official Medium publication for the webpack open source project!

Sean T. Larkin

Written by

@Webpack Core team & AngularCLI team. Program Manager @Microsoft @EdgeDevTools. Web Performance, JavaScripter, Woodworker, 🐓 Farmer, and Gardener!

webpack

webpack

The official Medium publication for the webpack open source project!

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade
A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store