✨ Webpack 4 upgrade
[issue link]Webpack 4 beta just released and no features/breaking-changes planned for final release. The hardest part for the upgrade is plugins that need to adapt to new hooks system. We have about 1 month time remaining to the final release of webpack and (hopefully) until then all of the webpack plugins used by nuxt.js will be compatible with 4.x.
PR: #2901 - Status: Done
Branch: feat/webpack4
Resources
- webpack 4: Release notes
- webpack 4: Legato release annoucenment
- webpack 4: mode and optimization
- webpack 4: migration guide for plugins/loaders
- webpack 4: Code Splitting, chunk graph and the splitChunks optimization
- webpack 4: import() and CommonJs
- RIP CommonsChunkPlugin.md
Pending plugins
extract-text-webpack-plugin
Upgrade:
PR: webpack-contrib/extract-text-webpack-plugin#707 - Status: merged
NPM Release: v4.0.0-alpha.0
Problem with ModuleConcatination:
PR: webpack/webpack#6597 - Status: open
Fixed in webpack-contrib/extract-text-webpack-plugin#728
html-webpack-plugin
PR: jantimon/html-webpack-plugin#823 - Status: open
PR: webpack-contrib/html-webpack-plugin/pull/3 - Status: merged
NPM Release: 3.0.6 released!
time-fix-plugin
PR: egoist/time-fix-plugin#1 - Status: merged