Replies: 3 comments 3 replies
-
Vite uses esbuild which doesn't support const enum. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Vitest didn't support const enum, but it works fine with Vue which has many const enum, how did this happened? Do you have any clue? @sheremet-va |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the same issue as #1650 which is locked (I really don't think it's helpful to lock old issues as this creates thread disparity and hard to find information and also hinders discussion)
And the given reason is that vite transpiles to js without types, but I also tried
ts-mocha
which is also transpile only by default and yetconst enum
works there, so what are they doing differently for this to work?Beta Was this translation helpful? Give feedback.
All reactions