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

WordPress Trac noreply at wordpress.org
Fri Oct 19 23:42:17 UTC 2018


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

 * keywords:  has-patch => has-patch commit
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Running `grunt precommit` currently from the 5.0 branch fails `grunt
 jsvalidate:build`:

 {{{
 #!bash
 Running "jsvalidate:build" (jsvalidate) task
 Validating build/wp-includes/js/dist/vendor/wp-polyfill-formdata.js
 >> Line 20: Unexpected token >
 Encountered 2 errors.
 Warning: Task "jsvalidate:build" failed. Use --force to continue.
 }}}

 Patch [attachment:"45119.2.diff"] resolves the issue by ''ignoring'' the
 ''vendor'' folder at `wp-includes/js/dist/vendor`

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


More information about the wp-trac mailing list