1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-07 07:56:23 +00:00
ocsms/gulpfile.js
2018-11-12 13:43:10 +01:00

16 lines
523 B
JavaScript

let gulp = require("gulp");
let concat = require('gulp-concat');
let rename = require("gulp-rename");
let uglify = require('gulp-uglify-es').default;
gulp.task("uglify", function () {
return gulp.src("js/devel/app.js")
.pipe(concat('js/devel/settings.js'))
.pipe(concat('js/devel/contactlist.js'))
.pipe(concat('js/devel/conversation.js'))
.pipe(concat('js/devel/helpers.js'))
.pipe(concat('js/devel/notifications.js'))
.pipe(rename("app.min.js"))
.pipe(uglify(/* options */))
.pipe(gulp.dest("js/"));
});