mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 00:43:49 +01:00
Enable toplevel mangling
This commit is contained in:
parent
50c7432ba3
commit
a4319ac641
@ -120,7 +120,9 @@ gulp.task('webpack', done => {
|
||||
gulp.task('build:client:script', () =>
|
||||
gulp.src(['./src/web/app/boot.js', './src/web/app/safe.js'])
|
||||
.pipe(replace('VERSION', JSON.stringify(version)))
|
||||
.pipe(isProduction ? uglify() : gutil.noop())
|
||||
.pipe(isProduction ? uglify({
|
||||
toplevel: true
|
||||
}) : gutil.noop())
|
||||
.pipe(gulp.dest('./built/web/assets/')) as any
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user