Skip to content

Commit

Permalink
workbox config vite
Browse files Browse the repository at this point in the history
  • Loading branch information
AjobK committed Sep 11, 2024
1 parent 28ea648 commit 9bf9cb4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ export default defineConfig(({mode}) => {
// .mp3 - sound effects
// .ttf - custom fonts
globPatterns: ['**/*.{js,css,html,png,mp3,ttf}'],
clientsClaim: true,
skipWaiting: true,
// Generate service worker source map
sourcemap: true,
},
Expand Down

0 comments on commit 9bf9cb4

Please sign in to comment.