Skip to content

Commit

Permalink
feat: add vite pwa plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciechmarek committed Jan 18, 2023
1 parent ef37d08 commit 790e48d
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 @@ -4,5 +4,5 @@ import { VitePWA } from 'vite-plugin-pwa';

// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), VitePWA()],
plugins: [react(), VitePWA({ registerType: 'autoUpdate' })],
});

0 comments on commit 790e48d

Please sign in to comment.