Skip to content

Commit

Permalink
Merge pull request #4819 from ecamp/vite-worker-plugins-function
Browse files Browse the repository at this point in the history
Fix vite 5 deprecation warning
  • Loading branch information
usu committed Mar 26, 2024
2 parents f433c52 + 93b188d commit 88ceeba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default defineConfig(({ mode }) => ({
},
plugins,
worker: {
plugins: [comlink()],
plugins: () => [comlink()],
},
optimizeDeps: {
include: [
Expand Down

0 comments on commit 88ceeba

Please sign in to comment.