Skip to content

Commit 92a9720

Browse files
committed
Add yarn build-web
1 parent e7c3f08 commit 92a9720

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"dev": "./scripts/run_local.sh dev",
1717
"prod": "./scripts/run_local.sh prod",
1818
"clean-install": "./scripts/install.sh",
19+
"build-web": "./scripts/build_web.sh",
1920
"migrate": "./scripts/migrate.sh",
2021
"test": "jest",
2122
"test:watch": "jest --watch",

scripts/build_web.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,4 @@ rm -rf .next
2929

3030
yarn build
3131

32-
rm -rf .next/cache
33-
34-
cd ..
35-
36-
npx cap copy android
37-
npx cap sync android
38-
npx cap open android
32+
yarn clear-nextjs-cache

0 commit comments

Comments
 (0)