@vitejs/plugin-legacy does not use browserslistrc currently: github.com/vitejs/vite/issues/2476
@vitejs/plugin-legacy
I just tested in a project using @vitejs/plugin-legacy, and indeed the output remains the same no matter the Browserslist configuration. I’ve added a note at the end of the article. Thanks a lot!
This has been fixed in @vitejs/plugin-legacy 4.0.1!
We're a place where coders share, stay up-to-date and grow their careers.
@vitejs/plugin-legacydoes not use browserslistrc currently: github.com/vitejs/vite/issues/2476I just tested in a project using
@vitejs/plugin-legacy, and indeed the output remains the same no matter the Browserslist configuration. I’ve added a note at the end of the article. Thanks a lot!This has been fixed in
@vitejs/plugin-legacy4.0.1!