diff --git a/.gitignore b/.gitignore index 6420d6da2..7345ee274 100644 --- a/.gitignore +++ b/.gitignore @@ -46,3 +46,6 @@ romm_mock # testing backend/romm_test/resources backend/romm_test/logs + +# service worker +frontend/dev-dist diff --git a/frontend/src/components/Game/Card/ActionBar.vue b/frontend/src/components/Game/Card/ActionBar.vue index e9f4fc272..1de2da729 100644 --- a/frontend/src/components/Game/Card/ActionBar.vue +++ b/frontend/src/components/Game/Card/ActionBar.vue @@ -15,13 +15,24 @@ const downloadUrl = `${window.location.origin}${props.rom.download_path}`; - + + - + + { - - - + + { }, ], }, + workbox: { + globPatterns: ['**/*.{js,css,html,ico,png,svg}'], + navigateFallbackDenylist: [/^\/assets\/romm\/library/], + }, + devOptions: { + enabled: false, + type: 'module', + }, }), ], define: { "process.env": {} },