summaryrefslogtreecommitdiff
path: root/web-ui/config
diff options
context:
space:
mode:
authorNavaL <ayoyo@thoughtworks.com>2016-03-18 20:04:28 +0100
committerNavaL <ayoyo@thoughtworks.com>2016-03-18 20:04:35 +0100
commitb09429fc63fb4c997492a6e1235e3cbd8e4b9847 (patch)
treeeed15a83f2096dcc40fa45b95dfde540f2e04699 /web-ui/config
parent0a0919968883b52031318385b7dc251e0d92d6c1 (diff)
re-introduce minification with the 'hacky' prepending semi-column fix
Diffstat (limited to 'web-ui/config')
-rw-r--r--web-ui/config/package.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/web-ui/config/package.sh b/web-ui/config/package.sh
index 79cb4644..8daa263d 100644
--- a/web-ui/config/package.sh
+++ b/web-ui/config/package.sh
@@ -64,7 +64,8 @@ app/bower_components/foundation/js/foundation/foundation.offcanvas.js \
app/js/foundation/initialize_foundation.js \
app/bower_components/iframe-resizer/js/iframeResizer.min.js \
.tmp/app.concatenated.js > dist/app.js
-mv dist/app.js dist/app.min.js
+node_modules/.bin/minify dist/app.js > dist/app.min.js
+rm dist/app.js
# concat js files and minify for sandbox.min.js
cat \