[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:33:14 UTC 2018


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

Comment (by atimmer):

 [https://core.trac.wordpress.org/attachment/ticket/45156/45156.diff
 45156.diff] adds `webpack:dev` to `grunt build`. When I put `webpack:dev`
 before `webpack:prod` I was treated with this error:

 `Warning: Circular reference detected
 (.dev[1].plugins[3].compiler.inputFileSystem._statStorage.interval._idlePrev._idleNext)
 Use --force to continue.`

 So I've put `dev` behind `prod`.

 PS. I expect the error to be harmless, but caused by the fact that grunt
 is all one process and webpack doesn't play nice with this. If we ever
 want to change the order we can shell out to webpack using grunt-shell to
 make sure webpack is in it's own process.

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


More information about the wp-trac mailing list