modal realnych zestawień: przerobiono wygląd; poprawiono performance

This commit is contained in:
2023-04-06 23:14:55 +02:00
parent cc06d5cb0a
commit 678c40dd9b
7 changed files with 194 additions and 142 deletions
+5 -5
View File
@@ -12,11 +12,13 @@ export default defineConfig({
vue(),
VitePWA({
registerType: 'autoUpdate',
workbox: {
globPatterns: ['**/*.{js,css,html,png,svg,img}'],
// globPatterns: ['**/*.{js,css,html,png,svg,img}'],
runtimeCaching: [
{
urlPattern: new RegExp(`^https://rj.td2.info.pl/dist/img/thumbnails/.*`),
urlPattern: /^https:\/\/rj.td2.info.pl\/dist\/img\/thumbnails\/.*/i,
handler: 'CacheFirst',
options: {
cacheName: 'swdr-images-cache',
@@ -31,10 +33,8 @@ export default defineConfig({
},
],
},
devOptions: {
enabled: true,
},
}),
],
});