Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

Commit ab18bbc

Browse files
committed
Update vite.main.config.mts
1 parent 002763b commit ab18bbc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

apps/code/vite.main.config.mts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,8 @@ export default defineConfig(({ mode }) => {
668668
],
669669
onwarn(warning, warn) {
670670
if (warning.code === "UNUSED_EXTERNAL_IMPORT") return;
671+
if (warning.code === "EVAL" && warning.id?.includes("web-tree-sitter"))
672+
return;
671673
warn(warning);
672674
},
673675
},

0 commit comments

Comments
 (0)