mirror of
https://github.com/logseq/logseq.git
synced 2026-02-01 22:47:36 +00:00
fix: mobile build
This commit is contained in:
@@ -101,11 +101,6 @@
|
||||
:redef false}
|
||||
:cross-chunk-method-motion false}
|
||||
:closure-defines {goog.debug.LOGGING_ENABLED true}
|
||||
|
||||
;; NOTE: electron, browser/mobile-app use different asset-paths.
|
||||
;; For browser/mobile-app devs, assets are located in /static/js(via HTTP root).
|
||||
;; For electron devs, assets are located in ./js(via relative path).
|
||||
;; :dev {:asset-path "./js"}
|
||||
:devtools {:before-load frontend.core/stop ;; before live-reloading any code call this function
|
||||
:after-load frontend.core/start ;; after live-reloading finishes call this function
|
||||
:watch-path "/static"
|
||||
@@ -124,11 +119,8 @@
|
||||
"react-dom" {:target :global
|
||||
:global "ReactDOM"}}}
|
||||
;; handle `require(xxx.css)`
|
||||
:modules {:shared
|
||||
{:entries []}
|
||||
:main
|
||||
{:init-fn mobile.core/init
|
||||
:depends-on #{:shared}}
|
||||
:modules {:main
|
||||
{:init-fn mobile.core/init}
|
||||
:code-editor
|
||||
{:entries [frontend.extensions.code]
|
||||
:depends-on #{:main}}}
|
||||
|
||||
Reference in New Issue
Block a user