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

@ -1,11 +1,6 @@
import { atom } from 'recoil';
import { TPreset } from 'librechat-data-provider';
// preset structure is as same defination as conversation
// an array of saved presets.
// sample structure
// [preset1, preset2, preset3]
const presets = atom<TPreset[]>({
key: 'presets',
default: [],