Skip to content

Commit 3b2e331

Browse files
author
kingdaro
committed
doc: add notes to remove in v5
1 parent b1f81a5 commit 3b2e331

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎lib/webpack.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,13 @@ const defineMissingPluginError = (pluginName, errorMessage) => {
143143
});
144144
};
145145

146+
// TODO remove in webpack 5
146147
defineMissingPluginError(
147148
"UglifyJsPlugin",
148149
"webpack.optimize.UglifyJsPlugin has been removed, please use config.optimization.minimize instead."
149150
);
150151

152+
// TODO remove in webpack 5
151153
defineMissingPluginError(
152154
"CommonsChunkPlugin",
153155
"webpack.optimize.CommonsChunkPlugin has been removed, please use config.optimization.splitChunks instead."

0 commit comments

Comments
 (0)