mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Build: Lint the minified jQuery file as well - a Gruntfile fix
While we have absolutely no style-related expectations to our minified file, we do care that it's valid ES 5.1. This is now verified. Fixes gh-3075 Ref gh-4594 Closes gh-4598
This commit is contained in:
parent
23d53928f3
commit
338f1fc774
@ -85,7 +85,7 @@ module.exports = function( grunt ) {
|
||||
// We have to explicitly declare "src" property otherwise "newer"
|
||||
// task wouldn't work properly :/
|
||||
dist: {
|
||||
src: "dist/jquery.js"
|
||||
src: [ "dist/jquery.js", "dist/jquery.min.js" ]
|
||||
},
|
||||
dev: {
|
||||
src: [ "src/**/*.js", "Gruntfile.js", "test/**/*.js", "build/**/*.js" ]
|
||||
|
Loading…
Reference in New Issue
Block a user