CLICKHOUSE-3073: skip sourcemaps by default

This commit is contained in:
Ivan Blinkov 2017-07-31 17:26:51 +03:00
parent 50cfb5c01c
commit 71bc802375

View File

@ -82,7 +82,7 @@ gulp.task('htmls', ['docs', 'docstxt'], function () {
.pipe(gulp.dest(outputDir))
});
gulp.task('scripts', ['docs'], function () {
gulp.task('sourcemaps', ['docs'], function () {
return gulp.src(paths.scripts)
.pipe(sourcemaps.init())
.pipe(uglify())
@ -90,6 +90,12 @@ gulp.task('scripts', ['docs'], function () {
.pipe(gulp.dest(outputDir))
});
gulp.task('scripts', ['docs'], function () {
return gulp.src(paths.scripts)
.pipe(uglify())
.pipe(gulp.dest(outputDir))
});
gulp.task('styles', ['docs'], function () {
return gulp.src(paths.styles)
.pipe(cleanCss({inline: ['none']}))