aboutsummaryrefslogtreecommitdiffstats
path: root/build/tasks/build.js
diff options
context:
space:
mode:
Diffstat (limited to 'build/tasks/build.js')
-rw-r--r--build/tasks/build.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/build/tasks/build.js b/build/tasks/build.js
index 664ccafe9..7034e8dd8 100644
--- a/build/tasks/build.js
+++ b/build/tasks/build.js
@@ -32,9 +32,6 @@ module.exports = function( grunt ) {
startFile: "src/intro.js",
endFile: [ "src/exports/global.js", "src/outro.js" ]
},
- paths: {
- sizzle: "../external/sizzle/dist/sizzle"
- },
rawText: {},
onBuildWrite: convert
};
@@ -59,7 +56,7 @@ module.exports = function( grunt ) {
.replace( rdefineEnd, "" );
// Sizzle treatment
- } else if ( /^sizzle$/.test( name ) ) {
+ } else if ( /\/sizzle$/.test( name ) ) {
contents = "var Sizzle =\n" + contents
// Remove EXPOSE lines from Sizzle