Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support unified browserslist config for target browsers #167

Open
luxaritas opened this issue Sep 6, 2022 · 0 comments
Open

Support unified browserslist config for target browsers #167

luxaritas opened this issue Sep 6, 2022 · 0 comments
Labels
priority: p3/standard Enhancement with nominal value or bug with nominal impact scope: vite-utils size: sm type: enhancement New feature or request

Comments

@luxaritas
Copy link
Member

We should have an optional parameter (defaulting to vite's default target) for the vite config specifying a browserslist config that can be used for the build target, polyfill browser support, and postcss browser support. For the build target, this will require a bit of translation, as this is an esbuild target that doesn't directly support browserslist: evanw/esbuild#121

@luxaritas luxaritas added type: enhancement New feature or request scope: vite-utils size: sm priority: p3/standard Enhancement with nominal value or bug with nominal impact labels Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p3/standard Enhancement with nominal value or bug with nominal impact scope: vite-utils size: sm type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant