diff --git a/tools/webpack/packages.js b/tools/webpack/packages.js
index db08bafdd6..0e80b49f5d 100644
a
|
b
|
module.exports = function( env = { environment: 'production', watch: false, buil |
275 | 275 | }, |
276 | 276 | ], |
277 | 277 | }, |
| 278 | optimization: { |
| 279 | moduleIds: 'named', |
| 280 | }, |
278 | 281 | plugins: [ |
279 | 282 | new DefinePlugin( { |
280 | 283 | // Inject the `GUTENBERG_PHASE` global, used for feature flagging. |
… |
… |
module.exports = function( env = { environment: 'production', watch: false, buil |
347 | 350 | delete config.devtool; |
348 | 351 | config.mode = 'production'; |
349 | 352 | config.optimization = { |
350 | | minimize: false |
| 353 | minimize: false, |
| 354 | moduleIds: 'hashed', |
351 | 355 | }; |
352 | 356 | } |
353 | 357 | |