Reopen issue #20035
As discussed in PR #19942, it would be great if the Vite plugin exposed an option to configure polyfills.
Currently, when optimize: false is set and the project targets browsers through Vite instead, there does not seem to be a way to disable Tailwind’s generated polyfills.
I’d like to propose adding a polyfills option alongside optimize in the Vite plugin configuration. This would allow users to either disable polyfills entirely during compilation, or selectively keep only the ones they need.
Reopen issue #20035