Skip to content

Commit

Permalink
Add Cache-Control
Browse files Browse the repository at this point in the history
  • Loading branch information
tiensonqin committed Apr 10, 2020
1 parent 5150cb5 commit ff92835
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .projectile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
-/node_modules/
-/.cpcache
-/.shadow-cljs/
-/resources/public/js/cljs-runtime/
-/resources/public/js/main.js
-/resources/static/js/cljs-runtime/
-/resources/static/js/main.js
6 changes: 3 additions & 3 deletions shadow-cljs.edn
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
{:target :browser
:modules {:main {:init-fn frontend.core/init}}

:output-dir "resources/public/js"
:output-dir "resources/static/js"
:asset-path "/js"

:compiler-options {:infer-externs :auto
:externs ["datascript/externs.js"]}
;; TODO: purge-css not working properly
;; :build-hooks [(shadow.hooks/purge-css
;; {:css-source "node_modules/tailwindcss/dist/tailwind.min.css"
;; :js-globs ["public/js/*.js"]
;; :public-dir "public/css"})]
;; :js-globs ["static/js/*.js"]
;; :public-dir "static/css"})]
:devtools
;; before live-reloading any code call this function
{:before-load frontend.core/stop
Expand Down

0 comments on commit ff92835

Please sign in to comment.