From 0a0919968883b52031318385b7dc251e0d92d6c1 Mon Sep 17 00:00:00 2001 From: NavaL Date: Fri, 18 Mar 2016 18:40:47 +0100 Subject: 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 --- web-ui/config/package.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'web-ui/config') 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 \ -- cgit v1.2.3