1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-06 15:36:12 +00:00

Fix build another time

This commit is contained in:
Loic Blot 2018-11-12 14:15:50 +01:00
parent 8676d7094d
commit dc06bd8f88
No known key found for this signature in database
GPG Key ID: EFAA458E8C153987
2 changed files with 13 additions and 9 deletions

View File

@ -3,14 +3,18 @@ let concat = require('gulp-concat');
let rename = require("gulp-rename");
let uglify = require('gulp-uglify-es').default;
js_files = [
'js/devel/app.js',
'js/devel/settings.js',
'js/devel/contactlist.js',
'js/devel/conversation.js',
'js/devel/helpers.js',
'js/devel/notifications.js'
];
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"))
return gulp.src(js_files)
.pipe(concat("app.min.js"))
.pipe(uglify(/* options */))
.pipe(gulp.dest("js/"));
});

2
js/app.min.js vendored

File diff suppressed because one or more lines are too long