feat/FRO-36: PWA #25
@@ -18,18 +18,11 @@ export default defineConfig({
|
|||||||
quasar(),
|
quasar(),
|
||||||
VitePWA({
|
VitePWA({
|
||||||
registerType: 'autoUpdate',
|
registerType: 'autoUpdate',
|
||||||
injectRegister: 'auto',
|
|
||||||
|
|
||||||
workbox: {
|
workbox: {
|
||||||
globDirectory: 'dist/',
|
globDirectory: 'dist/',
|
||||||
globPatterns: [
|
globPatterns: [
|
||||||
'**/*.{js,css,html,ico,png,svg,webmanifest}',
|
'**/*.{js,css,html,ico,png,svg,webmanifest}',
|
||||||
],
|
],
|
||||||
globIgnores: [
|
|
||||||
'**/node_modules/**/*',
|
|
||||||
'sw.js',
|
|
||||||
],
|
|
||||||
swDest: 'dist/sw.js',
|
|
||||||
},
|
},
|
||||||
|
|
||||||
manifest: {
|
manifest: {
|
||||||
|
|||||||
Reference in New Issue
Block a user