diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2020-01-27 19:21:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-27 19:21:23 +0100 |
commit | 338f1fc77483a1bc1456e1f4ba1db2049bb45b45 (patch) | |
tree | 01acf7298b636fb486d7f933e03e011da06d565c | |
parent | 23d53928f383b0e7440bf4b08b7524e6af232fad (diff) | |
download | jquery-338f1fc77483a1bc1456e1f4ba1db2049bb45b45.tar.gz jquery-338f1fc77483a1bc1456e1f4ba1db2049bb45b45.zip |
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
-rw-r--r-- | Gruntfile.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 51f8bc643..0d79e37c0 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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" ] |