Make WordPress Core

Changeset 50990 for branches/5.7


Ignore:
Timestamp:
05/25/2021 05:20:01 AM (3 years ago)
Author:
peterwilsoncc
Message:

Build: Use hashed/deterministic moduleIDs in webpack config

Props peterwilsoncc, desrosj, gziolo.
Merges [50940] in to the 5.7 branch.
Fixes #53192.

Location:
branches/5.7
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.7

  • branches/5.7/tools/webpack/packages.js

    r50678 r50990  
    250250            ],
    251251        },
     252        optimization: {
     253            moduleIds: 'named',
     254        },
    252255        plugins: [
    253256            new DefinePlugin( {
     
    321324        config.mode = 'production';
    322325        config.optimization = {
    323             minimize: false
     326            minimize: false,
     327            moduleIds: 'hashed',
    324328        };
    325329    }
Note: See TracChangeset for help on using the changeset viewer.