extracted selection logic to own feature and anhanched with range selection

This commit is contained in:
Chris Kruining 2024-10-16 13:37:26 +02:00
parent 40f46eba1d
commit 1a963a665e
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
15 changed files with 295 additions and 254 deletions

View file

@ -4,7 +4,25 @@ import { VitePWA } from 'vite-plugin-pwa'
export default defineConfig({
vite: {
plugins: [
VitePWA({ registerType: 'autoUpdate' }),
VitePWA({
mode: 'development',
// srcDir: 'src',
// filename: 'claims-sw.ts',
strategies: 'injectManifest',
registerType: 'autoUpdate',
base: '/',
manifest: {
name: 'Translation tool',
short_name: 'T_tool',
theme_color: '#f0f',
icons: [],
},
devOptions: {
enabled: true,
type: 'module',
navigateFallback: 'index.html',
},
}),
]
}
});