diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2020-09-28 18:33:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-28 18:33:33 +0200 |
commit | a503c691dc06c59acdafef6e54eca2613c6e4032 (patch) | |
tree | f8aa7354ea5bf128c87a58ac0d46d195b0153e1c /build | |
parent | e35fb62db4fb46f031056bb53e393982c03972a1 (diff) | |
download | jquery-a503c691dc06c59acdafef6e54eca2613c6e4032.tar.gz jquery-a503c691dc06c59acdafef6e54eca2613c6e4032.zip |
Build: Explicitly exclude the queue module from the slim build
The queue module is not present in the slim build as it depends on deferred
and our Gruntfile specifies excluding deferred should also exclude queue:
https://github.com/jquery/jquery/blob/3.5.1/Gruntfile.js#L66
This commit makes this exclusion explicit so that the queue module never
accidentally gets re-included in the slim build if it stopped importing from
the deferred module directly.
Closes gh-4793
Diffstat (limited to 'build')
-rw-r--r-- | build/tasks/build.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/tasks/build.js b/build/tasks/build.js index 06a5f4048..e376be6cc 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -60,7 +60,7 @@ module.exports = function( grunt ) { const done = this.async(); try { - const slimFlags = [ "-ajax", "-callbacks", "-deferred", "-effects" ]; + const slimFlags = [ "-ajax", "-callbacks", "-deferred", "-effects", "-queue" ]; const flags = this.flags; const optIn = flags[ "*" ]; let name = grunt.option( "filename" ); |