summaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-10-08 16:09:31 +0300
committerAndrew Dolgov <[email protected]>2020-10-08 16:09:31 +0300
commitc60a26376fea86306a7dd659dd6a1f079190dc2d (patch)
tree218e4bd9ff518f09f6bbd2af520d68dfda510717 /gulpfile.js
parentcf1d643376d4f18cd5cfa9075a21b11fb5713daf (diff)
some more gulp-related stuff
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js11
1 files changed, 2 insertions, 9 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 5249043..843df14 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -33,20 +33,13 @@ gulp.task('minifyLibsJS', function(cb) {
gulp.task('minifyJS', function(cb) {
gulp
- .src('js/app.js')
+ .src(['js/app.js', 'js/reader.js'])
.pipe(concat('app.min.js'))
.pipe(uglify())
.on('error', swallowError)
.pipe(gulp.dest('dist/'));
gulp
- .src('js/reader.js')
- .pipe(concat('reader.min.js'))
- .pipe(uglify())
- .on('error', swallowError)
- .pipe(gulp.dest('dist/'));
-
- gulp
.src('js/reader_iframe.js')
.pipe(concat('reader_iframe.min.js'))
.pipe(uglify())
@@ -58,7 +51,7 @@ gulp.task('minifyJS', function(cb) {
gulp.task('minifyCSS', function(cb) {
gulp
- .src(['css/default.less'])
+ .src(['css/app.less'])
.pipe(less())
.pipe(minifyCSS())
.pipe(rename("app.min.css"))