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

WordPress Trac noreply at wordpress.org
Tue May 25 00:01:52 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
-----------------------------------+-------------------------

Comment (by peterwilsoncc):

 The packages config file has some additional smarts over the media config
 file to determine if it's the production build, it's within that the
 hashed module IDs are definded. https://github.com/WordPress/wordpress-
 develop/blob/187c7fc7252a53b5f355a31a8cb3deadf985f4c7/tools/webpack/packages.js#L365-L372

 Changing the new setting from `named` to `hashed` will fix this, I'll add
 a follow up commit in the next few hours.

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


More information about the wp-trac mailing list