feat: update Vite PWA configuration for improved caching and asset management

This commit is contained in:
2026-01-06 22:41:04 +07:00
parent e4e4d50ca8
commit f8c77ad93e
6 changed files with 746 additions and 6 deletions

View File

@@ -11,6 +11,7 @@
"run:ios": "ionic capacitor run ios -l --external",
"run:android": "ionic capacitor run android -l --external",
"proxy": "ionic config set -g proxy http://192.168.1.3:9527",
"deploy:cloudflare": "wrangler pages deploy dist --project-name=riwa --branch=main",
"test:e2e": "cypress run",
"test:unit": "vitest",
"lint": "eslint",
@@ -93,7 +94,9 @@
"vite": "^7.2.7",
"vite-plugin-pwa": "^1.2.0",
"vitest": "^4.0.15",
"vue-tsc": "^3.1.8"
"vue-tsc": "^3.1.8",
"workbox-window": "^7.4.0",
"wrangler": "^4.54.0"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"