chore: downgraded vite-pwa-plugin

This commit is contained in:
Jannat Patel
2025-11-21 16:46:31 +05:30
parent 5977be4a14
commit 9fb2a169e8
3 changed files with 246 additions and 376 deletions

View File

@@ -33,7 +33,7 @@ export default defineConfig({
cleanupOutdatedCaches: true,
maximumFileSizeToCacheInBytes: 5 * 1024 * 1024,
globDirectory: '/assets/lms/frontend',
globPatterns: ['**/*.{js,css,html,png,svg,woff2}'],
globPatterns: ['**/*.{js,ts,css,html,png,svg}'],
runtimeCaching: [
{
urlPattern: ({ request }) =>