fix: publishing doesn't load with latest shadow changes

This commit is contained in:
Gabriel Horner
2025-09-01 16:54:06 -04:00
parent b97b63fd21
commit dac7ad37a6
2 changed files with 2 additions and 7 deletions

View File

@@ -75,7 +75,7 @@
(fs/glob "." "{src/main,deps/graph-parser/src}/**")))))]
(do
(println "Building publishing js asset...")
(shell "clojure -M:cljs release publishing workers"))
(shell "clojure -M:cljs release publishing db-worker inference-worker"))
(println "Publishing js asset is up to date")))
(defn publishing-backend

View File

@@ -199,12 +199,7 @@
:publishing {:target :browser
:module-loader true
:js-options {:js-provider :external
:external-index "target/main.js"
:external-index-format :esm
:entry-keys ["module" "browser" "main"]
:export-conditions ["module" "import", "browser" "require" "default"]
:ignore-asset-requires true
:js-options {:ignore-asset-requires true
:resolve {"react" {:target :global
:global "React"}
"react-dom" {:target :global