Skip to content

Commit

Permalink
chore: .
Browse files Browse the repository at this point in the history
  • Loading branch information
userquin committed Nov 18, 2023
1 parent ac52d0f commit bb651d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export async function resolveOptions(options: Partial<VitePWAOptions>, viteConfi
assetsDir += '/'

// remove './' prefix from assetsDir
const dontCacheBustURLsMatching = new RegExp(`^${assetsDir.replace(/^.*?\//, '')}`)
const dontCacheBustURLsMatching = new RegExp(`^${assetsDir.replace(/^\.*?\//, '')}`)

const defaultWorkbox: GenerateSWOptions = {
swDest,
Expand Down

0 comments on commit bb651d3

Please sign in to comment.