Skip to content

Commit

Permalink
Try to self destroy service worker
Browse files Browse the repository at this point in the history
  • Loading branch information
shedaniel committed Feb 4, 2024
1 parent c6a72ac commit db002c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,15 @@ export default defineConfig({
background_color: "#333333",
display: "standalone",
},
selfDestroying: true,
workbox: {
cleanupOutdatedCaches: true,
sourcemap: true,
skipWaiting: true,
},
devOptions: {
enabled: true,
}
}),
prismjsPlugin({
languages: ["java", "groovy", "kotlin", "gradle", "json", "properties", "kt", "kts", "batch", "bash"],
Expand Down

0 comments on commit db002c2

Please sign in to comment.