diff --git a/.circleci/config.yml b/.circleci/config.yml index a32a76b4..c6d6162d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -28,6 +28,7 @@ jobs: key: 'v1-clj-{{ checksum "project.clj" }}' paths: - ~/.m2 + - ~/.cljs/.aot_cache test-cljs: working_directory: ~/test diff --git a/examples/frontend/project.clj b/examples/frontend/project.clj index c040a046..f28413ca 100644 --- a/examples/frontend/project.clj +++ b/examples/frontend/project.clj @@ -38,14 +38,16 @@ :source-map true :optimizations :none :pretty-print true - :preloads [devtools.preload]}} + :preloads [devtools.preload] + :aot-cache true}} {:id "min" :source-paths ["src"] :compiler {:output-to "target/cljsbuild/public/js/app.js" :output-dir "target/cljsbuild/public/js" :source-map "target/cljsbuild/public/js/app.js.map" :optimizations :advanced - :pretty-print false}}]} + :pretty-print false + :aot-cache true}}]} :figwheel {:http-server-root "public" :server-port 3449