diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2014-07-17 17:47:39 -0700 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2014-07-17 17:47:39 -0700 |
commit | 764f3643a3df30316d642ac6837409e5003859a8 (patch) | |
tree | e787172253820554aec81232df7836aeaad1a0bc | |
parent | 7b9b98d6e3f5a72089fa53b0f32f6f1e54abaa29 (diff) | |
download | jquery-764f3643a3df30316d642ac6837409e5003859a8.tar.gz jquery-764f3643a3df30316d642ac6837409e5003859a8.zip |
Build: denote that sizzle cannot be removed on this branch
Fixes #14775
-rw-r--r-- | build/tasks/build.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/build/tasks/build.js b/build/tasks/build.js index 738f934b4..4b807e63d 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -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 ); |