We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b9b98d commit 764f364Copy full SHA for 764f364
build/tasks/build.js
@@ -159,8 +159,12 @@ module.exports = function( grunt ) {
159
module = m[ 2 ];
160
161
if ( exclude ) {
162
+ // Can't exclude sizzle on this branch
163
+ if ( module === "sizzle" ) {
164
+ grunt.log.error( "Sizzle cannot be excluded on the 1.x branch." );
165
+
166
// Can't exclude certain modules
- if ( minimum.indexOf( module ) === -1 ) {
167
+ } else if ( minimum.indexOf( module ) === -1 ) {
168
// Add to excluded
169
if ( excluded.indexOf( module ) === -1 ) {
170
grunt.log.writeln( flag );
0 commit comments