mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
fix: add :pseudo-names true for electron build
This commit is contained in:
2
.github/workflows/build-desktop-release.yml
vendored
2
.github/workflows/build-desktop-release.yml
vendored
@@ -51,7 +51,7 @@ jobs:
|
||||
sudo ./linux-install-1.10.1.763.sh
|
||||
|
||||
- name: Compile CLJS
|
||||
run: yarn install && gulp build && yarn cljs:release
|
||||
run: yarn install && gulp build && yarn cljs:release-electron
|
||||
|
||||
- name: Update APP Version
|
||||
run: |
|
||||
|
||||
@@ -79,7 +79,7 @@ exports.electron = () => {
|
||||
}
|
||||
|
||||
exports.electronMaker = async () => {
|
||||
cp.execSync('yarn cljs:release', {
|
||||
cp.execSync('yarn cljs:release-electron', {
|
||||
stdio: 'inherit'
|
||||
})
|
||||
|
||||
|
||||
@@ -50,6 +50,7 @@
|
||||
"cljs:app-watch": "PATCH_PARSER_WORKER=$(cat \"./templates/patch.parser.worker.js\" | sed -e \"s#PWD_ROOT#`pwd`#g\") clojure -M:cljs watch parser-worker app",
|
||||
"cljs:electron-watch": "PATCH_PARSER_WORKER=$(cat \"./templates/patch.parser.worker.js\" | sed -e \"s#PWD_ROOT#`pwd`#g\") clojure -M:cljs watch parser-worker app electron",
|
||||
"cljs:release": "clojure -M:cljs release parser-worker app publishing electron",
|
||||
"cljs:release-electron": "clojure -M:cljs release parser-worker app publishing electron --config-merge '{:compiler-options {:pseudo-names true}}'",
|
||||
"cljs:release-app": "clojure -M:cljs release parser-worker app",
|
||||
"cljs:test": "clojure -M:test compile test",
|
||||
"cljs:run-test": "node static/tests.js",
|
||||
|
||||
Reference in New Issue
Block a user