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

WordPress Trac noreply at wordpress.org
Thu Jan 16 20:17:14 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:  Build/Test Tools        |     Version:  trunk
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  javascript
------------------------------------+-------------------------
Changes (by azaozz):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 May be missing something but this still looks a bit broken, even after
 #49144. Running `npm run build` followed by `phpunit` throws out lots of
 missing files warnings (presumably because the new `assets` dir is only in
 /build, but phpunit looks in /src).

 Not sure what's the best fix. Should phpunit test /build by default, or
 ..?

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


More information about the wp-trac mailing list