Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gulpfile.js - github.com/nextcloud/ocsms.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f97f2f73680dac8707887d42783a971d2648e555 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
let gulp = require("gulp");
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_files)
		.pipe(concat("app.min.js"))
		.pipe(uglify(/* options */))
		.pipe(gulp.dest("js/"));
});