[wp-trac] [WordPress Trac] #53192: Use hashed/deterministic moduleIDs in Webpack build.

WordPress Trac noreply at wordpress.org
Tue May 25 05:49:40 UTC 2021


#53192: Use hashed/deterministic moduleIDs in Webpack build.
-----------------------------------+-------------------------
 Reporter:  peterwilsoncc          |       Owner:  gziolo
     Type:  defect (bug)           |      Status:  reopened
 Priority:  normal                 |   Milestone:  5.7.3
Component:  Build/Test Tools       |     Version:  5.0
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch fixed-major  |     Focuses:  javascript
-----------------------------------+-------------------------
Changes (by peterwilsoncc):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Per [comment:11 comment 11] I am reopening this to deal with the
 compressed package.js configured files using the path rather than the hash
 for module IDs.

 As there are different configs, I am wondering if the `( mode ===
 'development' && env.buildTarget === 'build/' )` condition in `package.js`
 needs to change so the optimisation settings take in production mode.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53192#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list