Skip to content

Commit 567c9f0

Browse files
chore: note the webpack 6 plan for optimization.minimize
1 parent 5421237 commit 567c9f0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎lib/config/normalization.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,8 @@ const getNormalizedWebpackOptions = (config) => ({
331331
cacheGroups: cloneObject(splitChunks.cacheGroups)
332332
}
333333
),
334+
// TODO webpack 6: normalize `minimize` to the per-asset-type object and
335+
// drop `minimizeOptions` — a breaking change for what plugins read back.
334336
minimize:
335337
typeof optimization.minimize === "object" ? true : optimization.minimize,
336338
minimizeOptions: getNormalizedOptimizationMinimizeOptions(

0 commit comments

Comments
 (0)