Skip to content

Commit

Permalink
fix: dev sw stop working when using generateSW strategy (#751)
Browse files Browse the repository at this point in the history
  • Loading branch information
userquin committed Sep 4, 2024
1 parent 1919f2b commit 9a9c390
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ export function DevPlugin(ctx: PWAPluginContext) {
// we only need to add the navigateFallback if configured
const navigateFallback = options.workbox.navigateFallback
const { filePaths } = await generateServiceWorker(
ctx.version,
Object.assign(
{},
options,
Expand Down

0 comments on commit 9a9c390

Please sign in to comment.