mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Build: denote that sizzle cannot be removed on this branch
Fixes #14775
This commit is contained in:
parent
7b9b98d6e3
commit
764f3643a3
@ -159,8 +159,12 @@ module.exports = function( grunt ) {
|
||||
module = m[ 2 ];
|
||||
|
||||
if ( exclude ) {
|
||||
// Can't exclude sizzle on this branch
|
||||
if ( module === "sizzle" ) {
|
||||
grunt.log.error( "Sizzle cannot be excluded on the 1.x branch." );
|
||||
|
||||
// Can't exclude certain modules
|
||||
if ( minimum.indexOf( module ) === -1 ) {
|
||||
} else if ( minimum.indexOf( module ) === -1 ) {
|
||||
// Add to excluded
|
||||
if ( excluded.indexOf( module ) === -1 ) {
|
||||
grunt.log.writeln( flag );
|
||||
|
Loading…
Reference in New Issue
Block a user