|
|
@ -290,8 +290,8 @@ function buildScriptFiles(done) { |
|
|
}) |
|
|
}) |
|
|
.pipe(gulp.src(path.join(projectPath, 'vendor/*.js'))) |
|
|
.pipe(gulp.src(path.join(projectPath, 'vendor/*.js'))) |
|
|
// .pipe(gulp.dest('src/'))
|
|
|
// .pipe(gulp.dest('src/'))
|
|
|
.pipe(uglify()) |
|
|
|
|
|
.pipe(rename({extname: '.min.js'})) |
|
|
.pipe(rename({extname: '.min.js'})) |
|
|
|
|
|
.pipe(uglify()) |
|
|
.pipe(sourcemaps.write('.')) |
|
|
.pipe(sourcemaps.write('.')) |
|
|
.pipe(gulp.dest(path.posix.join(projectPath, 'src'))); |
|
|
.pipe(gulp.dest(path.posix.join(projectPath, 'src'))); |
|
|
} |
|
|
} |
|
|
|