aboutsummaryrefslogtreecommitdiffstats
path: root/mascara/server/util.js
diff options
context:
space:
mode:
Diffstat (limited to 'mascara/server/util.js')
-rw-r--r--mascara/server/util.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/mascara/server/util.js b/mascara/server/util.js
index af2daddb9..f9692afb6 100644
--- a/mascara/server/util.js
+++ b/mascara/server/util.js
@@ -23,7 +23,9 @@ function createBundle (entryPoint) {
cache: {},
packageCache: {},
plugin: [watchify],
- }).transform('babelify')
+ })
+ .transform('babelify')
+ .transform('uglifyify', { global: true })
bundler.on('update', bundle)
bundle()