[wp-trac] [WordPress Trac] #43731: Use Webpack + NPM scripts to build all the things

WordPress Trac noreply at wordpress.org
Thu Mar 4 03:38:17 UTC 2021


#43731: Use Webpack + NPM scripts to build all the things
-------------------------------------+-----------------------------
 Reporter:  omarreiss                |       Owner:  whyisjake
     Type:  task (blessed)           |      Status:  accepted
 Priority:  normal                   |   Milestone:  Future Release
Component:  Build/Test Tools         |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+-----------------------------
Changes (by isabel_brison):

 * keywords:  has-patch => has-patch needs-refresh


Comment:

 Both the jshint patch and the js build one no longer apply cleanly.

 Regarding the jshint one, I think it would be good to a create separate
 `bin/jshint` script as per @youknowriad 's comment, and in doing that we
 should also allow it to take options to lint specific directories or
 files, as that is already possible with the grunt setup.

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


More information about the wp-trac mailing list