aboutsummaryrefslogtreecommitdiffstats
path: root/mascara/server/util.js
diff options
context:
space:
mode:
authorDan J Miller <danjm.com@gmail.com>2018-01-12 10:15:22 +0800
committerAlexander Tseung <alextsg@users.noreply.github.com>2018-01-12 10:15:22 +0800
commit41057a76c567a80f98ff17e5d7a24c9500c11e4c (patch)
tree80959719993b4033c8502e76efac81c9b0628b47 /mascara/server/util.js
parentb8310ac62e358af9a6a9f3ed1e0ffa25a2a00b8d (diff)
downloadtangerine-wallet-browser-41057a76c567a80f98ff17e5d7a24c9500c11e4c.tar.gz
tangerine-wallet-browser-41057a76c567a80f98ff17e5d7a24c9500c11e4c.tar.zst
tangerine-wallet-browser-41057a76c567a80f98ff17e5d7a24c9500c11e4c.zip
[NewUI] Build mascara with uglification and gzipping. (#2735)
* Adds uglification and gzipping. * Build mascara with uglification and gzipping. * Remove gzipping from extension build.
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()