mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 01:39:36 +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
|
.pipe(gulpif(!argv.production, sourcemaps.write())) // writes .map file
|
||||||
.on('error', notify.onError('Error: <%= error.message %>'))
|
.on('error', notify.onError('Error: <%= error.message %>'))
|
||||||
.pipe(gulpif(argv.production, uglify({
|
.pipe(gulpif(argv.production, uglify({
|
||||||
mangle: false
|
mangle: true
|
||||||
})))
|
})))
|
||||||
.on('error', notify.onError('Error: <%= error.message %>'))
|
.on('error', notify.onError('Error: <%= error.message %>'))
|
||||||
.pipe(gulp.dest('./build/js'))
|
.pipe(gulp.dest('./build/js'))
|
||||||
|
Loading…
Reference in New Issue
Block a user