mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 14:14:55 +00:00
fix: publishing doesn't load with latest shadow changes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user