Skip to content

Commit

Permalink
chore: fix broken @ts-expect-error with Vite 5
Browse files Browse the repository at this point in the history
  • Loading branch information
fwouts committed Sep 29, 2023
1 parent a0f0baa commit 1463b9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/vite/vite-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,8 @@ export class ViteManager {
optimizeDeps: {
entries: [],
esbuildOptions: {
// @ts-expect-error incompatible esbuild versions?
// TODO: Remove this annotation once upgraded to Vite 5.
// @ts-ignore incompatible esbuild versions with Vite 4
plugins: [polyfillNode()],
},
},
Expand Down

0 comments on commit 1463b9b

Please sign in to comment.