[wp-trac] [WordPress Trac] #45156: SCRIPT_DEBUG with 5.0 Beta 1 for Blocks Assets

WordPress Trac noreply at wordpress.org
Wed Oct 24 09:56:33 UTC 2018


#45156: SCRIPT_DEBUG with 5.0 Beta 1 for Blocks Assets
------------------------------+------------------------------
 Reporter:  bordoni           |       Owner:  atimmer
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:  5.0
 Severity:  normal            |  Resolution:  fixed
 Keywords:                    |     Focuses:  javascript
------------------------------+------------------------------
Changes (by atimmer):

 * owner:  (none) => atimmer
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"43817" 43817]:
 {{{
 #!CommitTicketReference repository="" revision="43817"
 Build tools: Build webpack dev in `grunt build`.

 For the WordPress zip we need both the minified and non-minified files.
 This is because of `SCRIPT_DEBUG`. So in `grunt build` we need to do both
 `grunt webpack:prod` and `grunt webpack:dev`.

 Props bordoni.
 Fixes #45156.
 }}}

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


More information about the wp-trac mailing list