facebook

The most important updates in webpack 4

The most important updates in webpack 4
Average rating: 0
(0 votes)

Thanks! You’ve rated this material!

For those of you who don’t know, webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable of transforming, bundling, or packaging just about any resource or asset. Since new webpack 4 includes too many new features and improvements, we decided to pick the main of them and share with you the most important updates in webpack 4!

This webpack 4 release is the first to apply the tradition by receiving each of its major releases a codename. The new webpack 4 was colled Legato.

The most important updates in webpack 4

  1. It’s amazingly fast, build times decreased from 60 to 98%
  2. New property for your config called ‘mode’
  3. #0CJS (Zero-Config JS) 
  4. Sensible defaults
  5. Goodbye CommonsChunkPlugin (and welcome overridable API called optimization.splitChunks)
  6. WebAssembly Support
  7. Module Type’s Introduced + .mjs support

webpack 4 release codename origin and the details about its main updates you can find here.

Check other important releases in our JS digest.

Rate this article, if you like it

Thanks! You’ve rated this material!

Got a project? Let's discuss it!

Mailing & Legal Address

Syndicode Inc. 340 S Lemon Ave #3299, Walnut CA, 91789, USA

Visiting & Headquarters address
Kyiv Sofiivska 1/2a, 01001, Kyiv, Ukraine
Dnipro Hlinky 2, of. 1003, 49000, Dnipro, Ukraine
Email info@syndicode.com
Phone (+1) 9035021111