Place minified js files under /dist/js
This commit is contained in:
parent
42364c4d43
commit
edaeccebf2
@ -30,7 +30,7 @@ gulp.task('clean:js', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('clean:js:min', function () {
|
gulp.task('clean:js:min', function () {
|
||||||
return del(['./dist/js/min/*.js']);
|
return del(['./dist/js/*.min.js']);
|
||||||
});
|
});
|
||||||
|
|
||||||
var jsEntries = [
|
var jsEntries = [
|
||||||
@ -76,7 +76,7 @@ gulp.task('js:min', ['clean:js:min'], function () {
|
|||||||
path.basename = 'perfect-scrollbar.' + path.basename + '.min';
|
path.basename = 'perfect-scrollbar.' + path.basename + '.min';
|
||||||
}
|
}
|
||||||
}))
|
}))
|
||||||
.pipe(gulp.dest('./dist/js/min'))
|
.pipe(gulp.dest('./dist/js'))
|
||||||
.pipe(connect.reload());
|
.pipe(connect.reload());
|
||||||
});
|
});
|
||||||
return stream.merge.apply(null, tasks);
|
return stream.merge.apply(null, tasks);
|
||||||
|
Loading…
Reference in New Issue
Block a user