diff --git a/README.md b/README.md index 053c9fa24..9bc8382a2 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ Some example modules that can be excluded are: - **exports/global**: Exclude the attachment of global jQuery variables ($ and jQuery) to the window. - **exports/amd**: Exclude the AMD definition. -Removing sizzle is not supported on the 1.x branch. +Removing Sizzle is not supported on the `compat` branch. The build process shows a message for each dependent module it excludes or includes. diff --git a/build/tasks/build.js b/build/tasks/build.js index 3c457d0bf..1c76f6eff 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -160,7 +160,7 @@ module.exports = function( grunt ) { if ( exclude ) { // Can't exclude sizzle on this branch if ( module === "sizzle" ) { - grunt.log.error( "Sizzle cannot be excluded on the 1.x branch." ); + grunt.log.error( "Sizzle cannot be excluded on the compat branch." ); // Can't exclude certain modules } else if ( minimum.indexOf( module ) === -1 ) {