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

@ -5,6 +5,7 @@
<meta name="theme-color" content="#171717">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<title>LibreChat</title>
<link
rel="shortcut icon"