Skip to content

Commit 338f1fc

Browse files
authored
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
1 parent 23d5392 commit 338f1fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gruntfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ module.exports = function( grunt ) {
8585
// We have to explicitly declare "src" property otherwise "newer"
8686
// task wouldn't work properly :/
8787
dist: {
88-
src: "dist/jquery.js"
88+
src: [ "dist/jquery.js", "dist/jquery.min.js" ]
8989
},
9090
dev: {
9191
src: [ "src/**/*.js", "Gruntfile.js", "test/**/*.js", "build/**/*.js" ]

0 commit comments

Comments
 (0)