Skip to content

Commit

Permalink
change prop order viteconf
Browse files Browse the repository at this point in the history
  • Loading branch information
AjobK committed Sep 11, 2024
1 parent 0b6a4b7 commit 28ea648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ export default defineConfig(({mode}) => {
viteTsconfigPaths(),
VitePWA({
// Generate service worker
filename: 'service-worker.js',
strategies: 'generateSW',
injectRegister: 'auto',
registerType: 'autoUpdate',
filename: 'service-worker.js',
workbox: {
// Besides code, we have some other assets:
// .png - logo.png
Expand Down

0 comments on commit 28ea648

Please sign in to comment.