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:
parent
8c116355b4
commit
f0880a0180
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user