[wp-trac] [WordPress Trac] #26615: Validate compiled and compressed JS using grunt
WordPress Trac
noreply at wordpress.org
Sun Jan 19 11:18:18 UTC 2014
#26615: Validate compiled and compressed JS using grunt
--------------------------+------------------------------
Reporter: jorbin | Owner: wonderboymusic
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Build Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Changes (by TobiasBg):
* status: closed => reopened
* resolution: fixed =>
Comment:
The `src` checks too many files here. `BUILD_DIR + '/**/*.js' ` includes
JS files of plugins (or other stuff in `wp-content`).
Not only does this cause extra work during a `grunt build`, but it can
also raise errors where `.js` files are used for something else (e.g. not
holding JS code, but JSON data).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26615#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list