Skip to content

How to know which polyfills are included by plugin-legacy #20094

Answered by sapphi-red
kingyue737 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kingyue737
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants