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

Add different environment #76

Closed
ai opened this issue Oct 13, 2016 · 2 comments
Closed

Add different environment #76

ai opened this issue Oct 13, 2016 · 2 comments

Comments

@ai
Copy link
Member

ai commented Oct 13, 2016

Config:

[development]
last 1 browser

[production]
last 4 versions

pckage.json:

"browserslist": {
  "development": ["last 1 browser"],
  "production": ["last 4 browser"]
}

Based on Create React App discuss: facebook/create-react-app#892

@ai
Copy link
Member Author

ai commented Oct 13, 2016

Do we need to add object support to browserslist(browsers) argument?

I think we could ignore it. If you set it manually, you can use JS to use different arrays for dev/prod.

@ai
Copy link
Member Author

ai commented Dec 19, 2016

Finished by #88 and #89

@ai ai closed this as completed Dec 19, 2016
tats-u pushed a commit to tats-u/browserslist that referenced this issue Apr 8, 2023
…list-2.11.0

Update browserslist to the latest version 🚀
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

No branches or pull requests

1 participant