feat: Added PWA Setup & Manual Chunks via Vite (#2477)

* added pwa setup via vite config

Added apple status bar meta data

added maskable 512 icon for chrome and android devices

added vite-plugin-pwa

updated vite config to setup the pwa service worker and manifest upon build

* fix(vite): avoid pre-caching generated images

* chore: add manual chunking of larger vendor package

* chore: remove comments

---------

Co-authored-by: davecrab <65996799+davecrab@users.noreply.github.com>
This commit is contained in:
Danny Avila 2024-04-21 10:39:15 -04:00 committed by GitHub
parent c937b8cd07
commit 3bfd185cab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 820 additions and 33 deletions

View file

@ -128,6 +128,7 @@
"typescript": "^5.0.4",
"vite": "^5.1.1",
"vite-plugin-html": "^3.2.0",
"vite-plugin-node-polyfills": "^0.17.0"
"vite-plugin-node-polyfills": "^0.17.0",
"vite-plugin-pwa": "^0.19.8"
}
}