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

WordPress Trac noreply at wordpress.org
Thu Jan 30 08:55:07 UTC 2020


#48154: Build Tools: Integrate DependencyExtractionWebpackPlugin in the JS build
-------------------------------------+-------------------------
 Reporter:  gziolo                   |       Owner:  gziolo
     Type:  enhancement              |      Status:  reopened
 Priority:  normal                   |   Milestone:  5.4
Component:  Script Loader            |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |     Focuses:  javascript
-------------------------------------+-------------------------
Changes (by johnbillion):

 * keywords:  dev-feedback needs-patch 2nd-opinion => needs-patch 2nd-
               opinion
 * version:  trunk =>


Comment:

 This seems to be papering over the issue. If the a PHP asset file is
 missing, then enqueing the asset without its dependencies isn't correct.

 If an asset file is missing this should trigger a `wp_die()` message
 similar to the one shown when a fresh installation is used but the build
 command has yet to be run.

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


More information about the wp-trac mailing list