Make WordPress Core

Ticket #53192: 53192.2.diff

File 53192.2.diff, 427 bytes (added by peterwilsoncc, 4 years ago)
  • tools/webpack/packages.js

    diff --git a/tools/webpack/packages.js b/tools/webpack/packages.js
    index a2deeaf577..875eede7aa 100644
    a b module.exports = function( env = { environment: 'production', watch: false, buil 
    293293                        ],
    294294                },
    295295                optimization: {
    296                         moduleIds: 'named',
     296                        moduleIds: mode === 'production' ? 'hashed' : 'named',
    297297                },
    298298                plugins: [
    299299                        new DefinePlugin( {