1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-26 15:54:17 +01:00

Fix per disabilitare la minificazione JS in debug mode

This commit is contained in:
loviuz 2022-07-30 20:45:22 +02:00
parent 8c116355b4
commit f0880a0180

View File

@ -127,7 +127,7 @@ const JS = gulp.parallel(() => {
return gulp.src(vendor)
.pipe(babel(config.babelOptions))
.pipe(concat('app.min.js'))
.pipe(minifyJS())
.pipe(gulpIf(!config.debug, minifyJS()))
.pipe(gulp.dest(config.production + '/' + config.paths.js));
}, srcJS);