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 c9f1daeb8..1f1719a48 100644
--- a/build/tasks/build.js
+++ b/build/tasks/build.js
@@ -31,9 +31,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
};
@@ -58,7 +55,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