From: Michał Gołębiowski-Owczarek Date: Mon, 27 Jan 2020 18:21:23 +0000 (+0100) Subject: Build: Lint the minified jQuery file as well - a Gruntfile fix X-Git-Tag: 4.0.0-beta~206 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=338f1fc77483a1bc1456e1f4ba1db2049bb45b45;p=jquery.git 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 --- 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" ]