mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-04-12 02:27:36 -04:00
Fix webview live update
This commit is contained in:
@@ -277,7 +277,7 @@ npx @capawesome/cli login
|
||||
|
||||
Then, run this to build your local assets and push them to Capawesome. Once done, each mobile app user will receive a notice that there is a new update available, which they can approve to download.
|
||||
```
|
||||
yarn build-web
|
||||
yarn build-web-view
|
||||
npx @capawesome/cli apps:bundles:create --path web/out
|
||||
```
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
"prod": "./scripts/run_local.sh prod",
|
||||
"clean-install": "./scripts/install.sh",
|
||||
"build-web": "./scripts/build_web.sh",
|
||||
"build-web-view": "./scripts/build_web.sh",
|
||||
"build-sync-android": "./scripts/build_sync_android.sh",
|
||||
"sync-android": "./scripts/sync_android.sh",
|
||||
"migrate": "./scripts/migrate.sh",
|
||||
|
||||
@@ -4,9 +4,7 @@ set -e
|
||||
|
||||
cd "$(dirname "$0")"/..
|
||||
|
||||
export NEXT_PUBLIC_WEBVIEW=1
|
||||
|
||||
yarn build-web
|
||||
yarn build-web-view
|
||||
|
||||
source web/.env
|
||||
|
||||
|
||||
9
scripts/build_web_view.sh
Executable file
9
scripts/build_web_view.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
cd "$(dirname "$0")"/..
|
||||
|
||||
export NEXT_PUBLIC_WEBVIEW=1
|
||||
|
||||
yarn build-web
|
||||
Reference in New Issue
Block a user