aboutsummaryrefslogtreecommitdiff
path: root/shadow-cljs.edn
diff options
context:
space:
mode:
Diffstat (limited to 'shadow-cljs.edn')
-rw-r--r--shadow-cljs.edn7
1 files changed, 5 insertions, 2 deletions
diff --git a/shadow-cljs.edn b/shadow-cljs.edn
index 5937f86..7efe42d 100644
--- a/shadow-cljs.edn
+++ b/shadow-cljs.edn
@@ -3,7 +3,10 @@
:proxy-url "http://localhost:3000"}}
:builds
{:tubo
- {:target :browser
+ {:target :browser
:output-dir "resources/public/js"
:asset-path "/js"
- :modules {:main {:init-fn tubo.core/init}}}}}
+ :js-options {:entry-keys ["module" "browser" "main"]
+ :export-conditions ["import" "module" "browser" "require"
+ "default"]}
+ :modules {:main {:init-fn tubo.core/init}}}}}