Skip to content

Commit

Permalink
Build: Use deterministic module ids in webpack for media
Browse files Browse the repository at this point in the history
Follow-up for [50940].
Props peterwilsoncc.
See #53192. 



git-svn-id: https://develop.svn.wordpress.org/trunk@50984 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
gziolo committed May 24, 2021
1 parent b589f04 commit 187c7fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/webpack/media.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ module.exports = function( env = { environment: 'production', watch: false, buil
},
optimization: {
minimize: true,
moduleIds: 'named',
minimizer: [
new UglifyJsPlugin( {
include: /\.min\.js$/,
Expand Down

0 comments on commit 187c7fc

Please sign in to comment.