[wp-trac] [WordPress Trac] #45119: Add a way to build packages scripts to `/src` folder.

WordPress Trac noreply at wordpress.org
Fri Oct 19 06:05:16 UTC 2018

#45119: Add a way to build packages scripts to `/src` folder.
 Reporter:  atimmer           |       Owner:  pento
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  5.0
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:  javascript
Changes (by pento):

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


 In [changeset:"43760" 43760]:
 #!CommitTicketReference repository="" revision="43760"
 Build Tools: Copy package JavaScript and CSS into `wp-includes`.

 - `grunt webpack:dev` now copies packages JS into `/src/wp-
 includes/js/dist`, and CSS into `/src/wp-includes/css/dist`.
 - `grunt webpack:prod` does the same, but into `/build` instead of `/src`.
 - `grunt build` now runs the `webpack:prod` task.

 Props atimmer, pento.
 Fixes #45119.

Ticket URL: <https://core.trac.wordpress.org/ticket/45119#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list