Skip to content

Commit

Permalink
chore: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Sep 29, 2024
1 parent c316947 commit 36942bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/web-worker/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@ export default defineConfig((_env) => ({
},
},
worker: {
// consumer: "client", // TODO: breaks dev
// consumer: "client", // TODO: is this desired? this would require explicitly setting `moduleRunnerTransform: true` etc...
webCompatible: true,
resolve: {
conditions: ["worker"],
noExternal: true,
},
dev: {
// moduleRunnerTransform: true,
optimizeDeps: {
include: [
"react",
Expand Down

0 comments on commit 36942bc

Please sign in to comment.