feat: minify other JS files as well

This commit is contained in:
Mike Gray 2022-10-21 08:30:20 -05:00 committed by Christopher Charbonneau Wells
parent ba0354db00
commit 8436726e0c
1 changed files with 3 additions and 0 deletions

View File

@ -191,6 +191,7 @@ function scripts(cb) {
pump([
gulp.src(config.scriptsConfig.graph),
removeSourcemaps(),
minify(),
concat('graph.js'),
gulp.dest(config.scriptsConfig.dest)
], cb);
@ -198,12 +199,14 @@ function scripts(cb) {
pump([
gulp.src(config.scriptsConfig.app),
removeSourcemaps(),
minify(),
concat('app.js'),
gulp.dest(config.scriptsConfig.dest)
], cb);
pump([
gulp.src(config.scriptsConfig.tags_editor),
minify(),
concat('tags_editor.js'),
gulp.dest(config.scriptsConfig.dest)
], cb);