enhance: remove source map from mobile apps

pull/3198/head
Tienson Qin 2021-12-01 12:33:04 +08:00
parent a1c8a78034
commit 00a39ceda3
2 changed files with 2 additions and 7 deletions

View File

@ -9,15 +9,10 @@
"launchAutoHide": false,
"androidScaleType": "CENTER_CROP",
"splashImmersive": false,
"showSpinner": true,
"backgroundColor": "#002b36"
}
},
"ios": {
"scheme": "Logseq"
},
"server": {
"url": "http://192.168.1.59:3001",
"cleartext": true
}
}

View File

@ -38,8 +38,8 @@
"release-electron": "run-s gulp:build && gulp electronMaker",
"debug-electron": "cd static/ && yarn electron:debug",
"e2e-test": "npx playwright test --reporter github",
"run-android-release": "yarn clean && yarn release-app && rm -rf ./public/static && mv static ./public && npx cap sync android && npx cap run android",
"run-ios-release": "yarn clean && yarn release-app && rm -rf ./public/static && mv static ./public && npx cap sync ios && npx cap run ios",
"run-android-release": "yarn clean && yarn release-app && rm -rf ./public/static && rm -rf ./static/js/*.map && mv static ./public && npx cap sync android && npx cap run android",
"run-ios-release": "yarn clean && yarn release-app && rm -rf ./public/static && rm -rf ./static/js/*.map && mv static ./public && npx cap sync ios && npx cap run ios",
"clean": "gulp clean",
"test": "run-s cljs:test cljs:run-test",
"report": "run-s cljs:report",