Skip to content

Commit

Permalink
fix: web worker accessing undefined document
Browse files Browse the repository at this point in the history
  • Loading branch information
tien committed May 18, 2023
1 parent 122988b commit aea5295
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/web/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ export default defineConfig({
build: {
outDir: 'build',
},
worker: {
format: 'es',
},
})

0 comments on commit aea5295

Please sign in to comment.