Commit 764f3643 authored by Timmy Willison's avatar Timmy Willison

Build: denote that sizzle cannot be removed on this branch

Fixes #14775
parent 7b9b98d6
...@@ -159,8 +159,12 @@ module.exports = function( grunt ) { ...@@ -159,8 +159,12 @@ module.exports = function( grunt ) {
module = m[ 2 ]; module = m[ 2 ];
if ( exclude ) { 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 // Can't exclude certain modules
if ( minimum.indexOf( module ) === -1 ) { } else if ( minimum.indexOf( module ) === -1 ) {
// Add to excluded // Add to excluded
if ( excluded.indexOf( module ) === -1 ) { if ( excluded.indexOf( module ) === -1 ) {
grunt.log.writeln( flag ); grunt.log.writeln( flag );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment