mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
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
This commit is contained in:
parent
e35fb62db4
commit
a503c691dc
@ -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" );
|
||||
|
Loading…
Reference in New Issue
Block a user