How to know which polyfills are included by plugin-legacy #20094
Answered
by
sapphi-red
kingyue737
asked this question in
Q&A
-
I found that even set the |
Beta Was this translation helpful? Give feedback.
Answered by
sapphi-red
May 24, 2025
Replies: 1 comment
-
This is possible by passing |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kingyue737
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is possible by passing
--debug legacy
(vite build --debug legacy
).I'm not sure if there's a way to output the reason. plugin-legacy uses @babel/preset-env to decide what polyfill to inject, so maybe there's some information on that side.