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

WordPress Trac noreply at wordpress.org
Wed Jan 29 17:21:58 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:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  dev-feedback needs-patch 2nd-        |     Focuses:  javascript
  opinion                                        |
-------------------------------------------------+-------------------------

Comment (by gziolo):

 Replying to [comment:31 ocean90]:
 > Looks like the `--dev` flag is not handled? Related: #44492.

 I wasn't aware of this flag. I'll look into it.

 I added a patch based on the proposal from @pbearne that should fix the
 issue with warnings. I tested by removing generated assets folders and
 running `npm run test:php`. This is at least how I was able to reproduce
 it. Let's land it and discuss further steps.

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


More information about the wp-trac mailing list