aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2020-01-27 19:21:23 +0100
committerGitHub <noreply@github.com>2020-01-27 19:21:23 +0100
commit338f1fc77483a1bc1456e1f4ba1db2049bb45b45 (patch)
tree01acf7298b636fb486d7f933e03e011da06d565c
parent23d53928f383b0e7440bf4b08b7524e6af232fad (diff)
downloadjquery-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.js2
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" ]