mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 09:23:13 +01:00
activate mangling
This commit is contained in:
parent
4374235c1b
commit
c1a5790bfe
@ -189,7 +189,7 @@ function bundle(watch) {
|
||||
.pipe(gulpif(!argv.production, sourcemaps.write())) // writes .map file
|
||||
.on('error', notify.onError('Error: <%= error.message %>'))
|
||||
.pipe(gulpif(argv.production, uglify({
|
||||
mangle: false
|
||||
mangle: true
|
||||
})))
|
||||
.on('error', notify.onError('Error: <%= error.message %>'))
|
||||
.pipe(gulp.dest('./build/js'))
|
||||
|
Loading…
Reference in New Issue
Block a user