Closed
Description
Is this a bug report?
yes
Did you try recovering your dependencies?
yep
Which terms did you search for in User Guide?
I searched through the babel-preset-react-app documentation and source looking for config options etc
Environment
Environment:
OS: macOS High Sierra 10.13.4
Node: 10.9.0
Yarn: 1.9.4
npm: 6.2.0
Watchman: Not Found
Xcode: Not Found
Android Studio: Not Found
Packages: (wanted => installed)
react: ^16.5.1 => 16.5.1
react-dom: ^16.5.1 => 16.5.1
Steps to Reproduce
demonstration: https://github.com/3stacks/but-why
- Clone repository
- yarn install
- yarn build
- Go to build/static/js/main.xxx.js
- Search for "Object.values"
Expected Behavior
It should be transpiling es2017 features. Or if it doesn't by default, it should listen to my browserslist query and support the version of IE I defined, therefore transpiling object.values
Actual Behavior
It spat out Object.values in the built verison.
Metadata
Metadata
Assignees
Labels
No labels