Update gulpfile.js

pull/1350/head^2
Jamie 8 years ago committed by GitHub
parent 760a304798
commit 4cf0ffac2f

@ -152,7 +152,7 @@ gulp.task('lib', function () {
streams.push( streams.push(
gulp.src(typeof module === "string" ? module : module.file) gulp.src(typeof module === "string" ? module : module.file)
.pipe(gulpif(global.full, sourcemaps.init())) .pipe(gulpif(global.full, sourcemaps.init()))
.pipe(gulpif(global.full, uglify({ source_map: true }))) //.pipe(gulpif(global.full, uglify({ source_map: true })))
.pipe(rename(function (path) { .pipe(rename(function (path) {
if (typeof module !== "string" && module.rename) { if (typeof module !== "string" && module.rename) {
path.basename = module.rename; path.basename = module.rename;

Loading…
Cancel
Save