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

WordPress Trac noreply at wordpress.org
Thu Sep 26 18:39:51 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 adamsilverstein):

 Hey @gziolo thanks for working on this. Can you explain a bit more how
 will/are these PHP files be used?

 The CDN concern does seem valid. Also, it feels generally confusing/wrong
 to store PHP files in a folder named `js` explicitly because it is full of
 JavaScript files.

 I checked the generated php files and see they return the dependencies and
 a version key. Can we store them in a separate location?

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


More information about the wp-trac mailing list