From 730bbba2b92644a5e52c36cdc00f3f37673c1fff Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 21 Nov 2016 23:32:29 +0100 Subject: [PATCH] Disable :advanced compilation in dist-main script. --- docker/Dockerfile | 2 +- frontend/scripts/dist-main.clj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 414266c77e..e7cb4cf21f 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -12,7 +12,7 @@ ENV LC_ALL en_US.UTF-8 RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main" >> /etc/apt/sources.list RUN wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - -RUN apt-get update -yq && \ +RUN apt-get update -yq && \ apt-get install -yq bash git tmux vim openjdk-8-jdk rlwrap build-essential \ postgresql-9.5 postgresql-contrib-9.5 imagemagick webp \ sudo diff --git a/frontend/scripts/dist-main.clj b/frontend/scripts/dist-main.clj index 74916e033c..63636b7d9d 100644 --- a/frontend/scripts/dist-main.clj +++ b/frontend/scripts/dist-main.clj @@ -13,7 +13,7 @@ :output-dir "dist/js/main" :closure-defines {"uxbox.config.url" "https://test.uxbox.io/api" "uxbox.config.viewurl" "https://test.uxbox.io/view/"} - :optimizations :advanced + :optimizations :simple :externs ["externs/main.js"] :static-fns true :elide-asserts true