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

WordPress Trac noreply at wordpress.org
Wed Feb 26 05:20:03 UTC 2020


#48154: Build Tools: Integrate DependencyExtractionWebpackPlugin in the JS build
---------------------------+-------------------------
 Reporter:  gziolo         |       Owner:  gziolo
     Type:  defect (bug)   |      Status:  reopened
 Priority:  normal         |   Milestone:  5.4
Component:  Script Loader  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  javascript
---------------------------+-------------------------

Comment (by azaozz):

 Looking a bit further, instead of moving `script-loader-packages.php` with
 Grunt, it can be outputted in `wp-includes/assets` by Webpack. This will
 need another small update of the DependencyExtractionWebpackPlugin to
 accept a path param when `combineAssets` is true.

 Will make a test patch with a local copy of
 DependencyExtractionWebpackPlugin.

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


More information about the wp-trac mailing list