-
-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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 browserslist in @babel/preset-env #6608
Merged
ianschmitz
merged 7 commits into
facebook:master
from
ianschmitz:presetenv-browserslist
Mar 14, 2019
Merged
Support browserslist in @babel/preset-env #6608
ianschmitz
merged 7 commits into
facebook:master
from
ianschmitz:presetenv-browserslist
Mar 14, 2019
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iansu
reviewed
Mar 10, 2019
iansu
suggested changes
Mar 10, 2019
Co-Authored-By: ianschmitz <ianschmitz@gmail.com>
Co-Authored-By: ianschmitz <ianschmitz@gmail.com>
JoviDeCroock
added a commit
to JoviDeCroock/create-react-app
that referenced
this pull request
Mar 15, 2019
* masterd: (24 commits) Add TypeScript linting support (facebook#6513) Support React Hooks (facebook#5602) (facebook#5997) Support browserslist in @babel/preset-env (facebook#6608) Add empty mock for http2 (facebook#5686) Add note about npx caching (facebook#6374) change named import into default import (facebook#6625) Stage files for commit after ejecting (facebook#5960) Upgrade dependencies (facebook#6614) Make compiler variable const instead of let (facebook#6621) Type check JSON files (facebook#6615) Change class components to functional components in templates (facebook#6451) Convert JSON.stringify \n to os.EOL when writing tsconfig.json (facebook#6610) Update html-webpack-plugin (facebook#6361) Enable click to go to error in console for TypeScript (facebook#6502) Update webpack-dev-server to 3.2.1 (facebook#6483) [docs] revert removal of newlines from html (facebook#6386) Publish Prepare 2.1.8 release Reapply "Speed up TypeScript v2 (facebook#6406)" (facebook#6586) Publish ... # Conflicts: # packages/babel-preset-react-app/create.js # packages/react-scripts/scripts/build.js
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR brings back support for configuring the build output based on
browserslist
, as well as supporting@babel/polyfill
in the entrypoint. This provides a huge improvement to the dev experience as it allows targeting modern browsers in development which makes certain language features like async/await much nicer to debug, while still supporting a broad range of browsers in production.Including
![image](https://user-images.githubusercontent.com/6355370/54078042-35575200-4276-11e9-8b57-ab1c1ab17f1d.png)
ie 9
in browserslist:Modern browsers:
![image](https://user-images.githubusercontent.com/6355370/54078043-3c7e6000-4276-11e9-9d51-46ef716de9a9.png)
Closes #6198.