updated gulpfile

This commit is contained in:
Kasper Rynning-Tønnesen
2017-10-17 14:53:39 +02:00
parent 6e3ca04fe8
commit 1fa7a7e439
5 changed files with 7 additions and 15 deletions

View File

@@ -36,17 +36,9 @@ gulp.task('callback', function () {
.pipe(gulp.dest('server/public/assets/dist'));
});
/*
gulp.task('nochan', function () {
gulp.src(['server/public/assets/js/nochan.js', 'server/public/assets/js/helpers.js'])
.pipe(uglify({
mangle: true,
compress: true,
enclose: true
}))
.pipe(concat('frontpage.min.js'))
.pipe(gulp.dest('server/public/assets/dist'));
});*/
gulp.task('build', function() {
gulp.run(['js', 'embed', 'remotecontroller', 'callback']);
})
gulp.task('remotecontroller', function () {
gulp.src(['server/public/assets/js/remotecontroller.js'])