Skip to content

Commit

Permalink
fix: Add vite resolve option when building custom sw (#530)
Browse files Browse the repository at this point in the history
fix #529
  • Loading branch information
arsonik committed Jun 2, 2023
1 parent 5a509d4 commit 4bea05b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules.ts
Expand Up @@ -99,6 +99,7 @@ export async function generateInjectManifest(options: ResolvedVitePWAOptions, vi
await build({
root: viteOptions.root,
base: viteOptions.base,
resolve: viteOptions.resolve,
// don't copy anything from public folder
publicDir: false,
build: {
Expand Down

0 comments on commit 4bea05b

Please sign in to comment.