Skip to content

Commit 9a9c390

Browse files
authored
fix: dev sw stop working when using generateSW strategy (#751)
1 parent 1919f2b commit 9a9c390

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/plugins/dev.ts

+1
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ export function DevPlugin(ctx: PWAPluginContext) {
159159
// we only need to add the navigateFallback if configured
160160
const navigateFallback = options.workbox.navigateFallback
161161
const { filePaths } = await generateServiceWorker(
162+
ctx.version,
162163
Object.assign(
163164
{},
164165
options,

0 commit comments

Comments
 (0)