-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Parsing objects for browserslist fails #1026
Comments
The given config wouldn't work either with the current implementation, because the browser list props currently must be defined as an array as described in the browserlist docs. Should parcel be able to parse browserlists defined as comma separated strings too? |
Ah hmm, I think that's transparent for browserlist, it probably just does a |
I guess in that case we might want to implement the string format. |
@DeMoorJasper for sure. :) |
@DeMoorJasper I added the functionality + refactored the test to cover both changes |
Parcel doesn't interpret environments in a browserslist config.
Using this config
Results in
It looks like the main
browserslist(queries, opts)
API that's exported isn't meant to know about environments (it's left to the user to determine which environment to supply it with).The text was updated successfully, but these errors were encountered: