fix: cache app.js in PWA mode (#1038)

This commit is contained in:
Jan Lucansky 2023-08-11 13:16:49 +02:00 committed by GitHub
parent 091244b718
commit 9ea02fbf8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,6 +61,7 @@ export default defineConfig(({ mode }) => {
base: './',
useCredentials: true,
workbox: {
maximumFileSizeToCacheInBytes: 10000000,
skipWaiting: true,
globPatterns: ['**/*.{js,css,html,ico,png,svg}']
}