[wp-trac] [WordPress Trac] #48154: Build Tools: Integrate DependencyExtractionWebpackPlugin in the JS build

WordPress Trac noreply at wordpress.org
Wed Dec 4 15:02:26 UTC 2019


#48154: Build Tools: Integrate DependencyExtractionWebpackPlugin in the JS build
------------------------------------+------------------------------
 Reporter:  gziolo                  |       Owner:  gziolo
     Type:  enhancement             |      Status:  assigned
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Build/Test Tools        |     Version:  trunk
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  javascript
------------------------------------+------------------------------

Comment (by gziolo):

 Replying to [comment:7 ocean90]:
 > Is it possible to merge the data into one file? I'm a bit concerned
 about the increased file reads + `json_decode()`. PHP files seem to
 provide the benefit of caching with OPcache?

 I don't think we want to merge all files into one. I refactored this patch
 to use PHP files instead. The difference is that now Grunt moves those
 files to its own folder at the same level in the hierarchy as `js` to
 ensure that they won't get exposed together with static assets.

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


More information about the wp-trac mailing list