Skip to content

Commit

Permalink
fix: worker plugins for vite 5
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Nov 27, 2023
1 parent 79643d7 commit 6e66250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.preview.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default defineConfig({
},
worker: {
format: 'es',
plugins: [
plugins: () => [
replace({
preventAssignment: true,
values: {
Expand Down

0 comments on commit 6e66250

Please sign in to comment.