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

WordPress Trac noreply at wordpress.org
Fri Dec 14 04:10:30 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, commit, fixed-5.0  |     Focuses:  javascript
------------------------------------------+-------------------------

Comment (by pento):

 In [changeset:"44159" 44159]:
 {{{
 #!CommitTicketReference repository="" revision="44159"
 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.

 Merges [43760] from the 5.0 branch to trunk.

 Props atimmer, pento.
 Fixes #45119.
 }}}

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


More information about the wp-trac mailing list