Automatic Polyfill for Modern Browsers With Vite | 8 Hobbies JavaScript Blog

Vite is a modern tool for frontend development. One of Vite’s functionalities is to deploy the app for production, including bundling all JavaScript (JS) files. Although Vite supports building for a particular browser target, it only transforms syntax with the help of ebuild, but does not perform any JavaScript polyfill.


This is a companion discussion topic for the original entry at https://8hob.io/posts/auto-polyfill-for-modern-browsers-with-vite