forked from trent_larson/crowd-funder-for-time-pwa
fix: disable PWA for Capacitor builds
Updates PWA configuration to: - Disable PWA features for Capacitor builds - Add @capacitor/app dependency - Update environment variable handling in build config This prevents conflicts between PWA and native app functionality when building for mobile platforms. Technical changes: - Add isCapacitor check to PWA disable logic - Update VITE_PWA_ENABLED environment variable definition - Add @capacitor/app to package dependencies
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@capacitor/android": "^6.2.0",
|
||||
"@capacitor/app": "^6.0.0",
|
||||
"@capacitor/cli": "^6.2.0",
|
||||
"@capacitor/core": "^6.2.0",
|
||||
"@capacitor/ios": "^6.2.0",
|
||||
|
||||
Reference in New Issue
Block a user