Upgrading extract-text-webpack-plugin 2 to 3
Breaking2.1.2 → 3.0.2Breaking3Platform3Deprecated2Changed1Fixed8Other2
BreakingUpgrade verdict
1 breaking change and 3 platform requirement changes.
In plain terms
- This version no longer works with Webpack 2.x because of breaking changes in webpack.
- You must use Webpack 3.1.0 or newer with this plugin.
- You must use Webpack version 3.1.0 or newer with this plugin.
- You must use Webpack 3.0.0-rc.0 or newer with this plugin.
Must act Top 5 of 6 that need code or config changes
Node.js requirement changed in 3.0.2: >=4.3.0 < 5.0.0 || >= 5.10 → >= 4.8 < 5.0.0 || >= 5.10.
What you must change
Breaking1
Updates to Chunk.mapModules and is not backwards compatible with Webpack 2.x.
Chunk.mapModulesChunk.forEachModuleChunk.getNumberOfModuleschunk.modulesPlatform3
Enforces peerDependencies of "webpack": "^3.1.0".
peerDependenciesRequires a minimum Webpack peerDependency of >=3.1.0.
Enforces peerDependencies of
"webpack": ">= 3.0.0-rc.0 || ^3.0.0".webpackDeprecations to plan for
Deprecated2
Refactors to avoid the Chunk.modules DeprecationWarning.
Chunk.modulesAdds a deprecation warning for
Chunk.modules.Chunk.modules