Skip to content

Conversation

@tobias-edwards
Copy link

Currently we only export the browserslist syntax. Many projects nowadays uses Vite which uses Esbuild under the hood. The Esbuild target syntax is slightly different and requires consumers to map the browserslist config onto their esbuild one, typically via browserslist-to-esbuild.

However, Esbuild does not support below es6, and [email protected] does not support const and requires es5. And so, for Esbuild the lowest ios version we can support is ios@11. Esbuild also doesn't support android.

We can forgo all the noise and extra work by simply exporting the Esbuild syntax from here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants