diff --git a/client/package.json b/client/package.json index 743de6df8f..4e17d268be 100644 --- a/client/package.json +++ b/client/package.json @@ -130,6 +130,7 @@ "postcss": "^8.4.31", "postcss-loader": "^7.1.0", "postcss-preset-env": "^8.2.0", + "rollup": "^4.21.1", "tailwindcss": "^3.4.1", "ts-jest": "^29.1.0", "typescript": "^5.0.4", diff --git a/client/vite.config.ts b/client/vite.config.ts index 6b05d56383..3c0c429bb8 100644 --- a/client/vite.config.ts +++ b/client/vite.config.ts @@ -61,7 +61,7 @@ export default defineConfig({ }, workbox: { globPatterns: ['assets/**/*.{png,jpg,svg,ico}', '**/*.{js,css,html,ico,woff2}'], - maximumFileSizeToCacheInBytes: 3 * 1024 * 1024, + maximumFileSizeToCacheInBytes: 4 * 1024 * 1024, }, manifest: { name: 'LibreChat', diff --git a/package-lock.json b/package-lock.json index c683624b5d..be26438ad3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1221,6 +1221,7 @@ "postcss": "^8.4.31", "postcss-loader": "^7.1.0", "postcss-preset-env": "^8.2.0", + "rollup": "^4.21.1", "tailwindcss": "^3.4.1", "ts-jest": "^29.1.0", "typescript": "^5.0.4", @@ -1229,6 +1230,41 @@ "vite-plugin-pwa": "^0.19.8" } }, + "client/node_modules/rollup": { + "version": "4.21.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.21.1.tgz", + "integrity": "sha512-ZnYyKvscThhgd3M5+Qt3pmhO4jIRR5RGzaSovB6Q7rGNrK5cUncrtLmcTTJVSdcKXyZjW8X8MB0JMSuH9bcAJg==", + "dev": true, + "dependencies": { + "@types/estree": "1.0.5" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.21.1", + "@rollup/rollup-android-arm64": "4.21.1", + "@rollup/rollup-darwin-arm64": "4.21.1", + "@rollup/rollup-darwin-x64": "4.21.1", + "@rollup/rollup-linux-arm-gnueabihf": "4.21.1", + "@rollup/rollup-linux-arm-musleabihf": "4.21.1", + "@rollup/rollup-linux-arm64-gnu": "4.21.1", + "@rollup/rollup-linux-arm64-musl": "4.21.1", + "@rollup/rollup-linux-powerpc64le-gnu": "4.21.1", + "@rollup/rollup-linux-riscv64-gnu": "4.21.1", + "@rollup/rollup-linux-s390x-gnu": "4.21.1", + "@rollup/rollup-linux-x64-gnu": "4.21.1", + "@rollup/rollup-linux-x64-musl": "4.21.1", + "@rollup/rollup-win32-arm64-msvc": "4.21.1", + "@rollup/rollup-win32-ia32-msvc": "4.21.1", + "@rollup/rollup-win32-x64-msvc": "4.21.1", + "fsevents": "~2.3.2" + } + }, "node_modules/@aashutoshrathi/word-wrap": { "version": "1.2.6", "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz",