mirror of
https://github.com/metosin/reitit.git
synced 2025-12-18 08:51:12 +00:00
Enable cljs aot-cache
This commit is contained in:
parent
93d911d60e
commit
5fd2f7b405
2 changed files with 5 additions and 2 deletions
|
|
@ -28,6 +28,7 @@ jobs:
|
||||||
key: 'v1-clj-{{ checksum "project.clj" }}'
|
key: 'v1-clj-{{ checksum "project.clj" }}'
|
||||||
paths:
|
paths:
|
||||||
- ~/.m2
|
- ~/.m2
|
||||||
|
- ~/.cljs/.aot_cache
|
||||||
|
|
||||||
test-cljs:
|
test-cljs:
|
||||||
working_directory: ~/test
|
working_directory: ~/test
|
||||||
|
|
|
||||||
|
|
@ -38,14 +38,16 @@
|
||||||
:source-map true
|
:source-map true
|
||||||
:optimizations :none
|
:optimizations :none
|
||||||
:pretty-print true
|
:pretty-print true
|
||||||
:preloads [devtools.preload]}}
|
:preloads [devtools.preload]
|
||||||
|
:aot-cache true}}
|
||||||
{:id "min"
|
{:id "min"
|
||||||
:source-paths ["src"]
|
:source-paths ["src"]
|
||||||
:compiler {:output-to "target/cljsbuild/public/js/app.js"
|
:compiler {:output-to "target/cljsbuild/public/js/app.js"
|
||||||
:output-dir "target/cljsbuild/public/js"
|
:output-dir "target/cljsbuild/public/js"
|
||||||
:source-map "target/cljsbuild/public/js/app.js.map"
|
:source-map "target/cljsbuild/public/js/app.js.map"
|
||||||
:optimizations :advanced
|
:optimizations :advanced
|
||||||
:pretty-print false}}]}
|
:pretty-print false
|
||||||
|
:aot-cache true}}]}
|
||||||
|
|
||||||
:figwheel {:http-server-root "public"
|
:figwheel {:http-server-root "public"
|
||||||
:server-port 3449
|
:server-port 3449
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue