summaryrefslogtreecommitdiff
path: root/web-ui/config
diff options
context:
space:
mode:
authorNavaL <ayoyo@thoughtworks.com>2016-03-18 18:40:47 +0100
committerNavaL <ayoyo@thoughtworks.com>2016-03-18 18:58:39 +0100
commit0a0919968883b52031318385b7dc251e0d92d6c1 (patch)
treecc622ed43a1018c45437488a99a92740fa972557 /web-ui/config
parent88dbf7548fcd9406be04a2fdc8f9710c9f3adebd (diff)
adding a temporary fix to minify blowing up because of iframeresizer
further investigation as to why the sourcemap comment at the end of the file causes problem whereas jquery has the same but does not blow up This will fix prod for now
Diffstat (limited to 'web-ui/config')
-rw-r--r--web-ui/config/package.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/web-ui/config/package.sh b/web-ui/config/package.sh
index fa0635a5..79cb4644 100644
--- a/web-ui/config/package.sh
+++ b/web-ui/config/package.sh
@@ -45,6 +45,9 @@ bower_components/font-awesome/fonts/* \
../dist
cd -
+# prepend -comma and space- to concatenated app js so that minify does not blow up
+echo '; ' | cat - .tmp/app.concatenated.js > /tmp/out && mv /tmp/out .tmp/app.concatenated.js
+
# concat js files and minify for app.min.js
cat \
app/bower_components/modernizr/modernizr.js \