Permalink
Browse files

Build: denote that sizzle cannot be removed on this branch

Fixes #14775
  • Loading branch information...
timmywil committed Jul 18, 2014
1 parent 7b9b98d commit 764f3643a3df30316d642ac6837409e5003859a8
Showing with 5 additions and 1 deletion.
  1. +5 −1 build/tasks/build.js
View
@@ -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 );

0 comments on commit 764f364

Please sign in to comment.