|
@@ -608,10 +608,11 @@ var buildExternalLibrary = function (library, settings, watch) {
|
|
if (isjs) this.push(file);
|
|
if (isjs) this.push(file);
|
|
cb();
|
|
cb();
|
|
}))
|
|
}))
|
|
- .pipe(rename(library.output.replace(".js", ".max.js")))
|
|
|
|
- .pipe(rename(library.output.replace(".min.max.", ".")))
|
|
|
|
- .pipe(rename(library.output.replace(".bundle.max.", ".")))
|
|
|
|
- .pipe(gulp.dest(outputDirectory));
|
|
|
|
|
|
+ .pipe(rename(function (path) {
|
|
|
|
+ console.log(path.basename);
|
|
|
|
+ //path.extname === ".js"
|
|
|
|
+ path.basename = path.basename.replace(".min", "")
|
|
|
|
+ })).pipe(gulp.dest(outputDirectory));
|
|
sequence.push(
|
|
sequence.push(
|
|
buildEvent
|
|
buildEvent
|
|
);
|
|
);
|