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

WordPress Trac noreply at wordpress.org
Thu Sep 26 15:14:24 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):

 @adamsilverstein @omarreiss this adds several PHP files for each JS
 script. Is it fine to keep them next to distribution version of JS files
 as presented on the screenshot above?

 @schlessera raised it as a potential issue in
 [https://github.com/WordPress/gutenberg/pull/17298#issuecomment-534599120
 the comment] under original PR on GitHub related to Gutenberg integration:

 > In a plugin I'm working on, for example, this now causes PHP files to
 reside under `assets/js`, which is totally misleading. This is the type of
 folder that is usually sent to a CDN, not executed on the server.

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


More information about the wp-trac mailing list