-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Production build breaks browsers which doesn't support PropertyShorthend
#1211
Comments
@pudek357 You could tweak your babelrc with appropriate browser query: http://browserl.ist/?q=%3E%3D+1%25 (this is what we ship with atm) You could set specific browsers you need to support in your query: https://github.com/ai/browserslist#queries |
it's mine
It's work with Additionally when you change here |
Please try the latest RC, otherwise feel free to open a new issue with more details. |
Hi everyone 👋
This PR introduced problem with production build, when we use in code PropertyShorthend.
I was trying to investigate this problem and I figured out that the problem is with this line.
If
ecma
is set to>= 6
thenUglifyJS
produces for example code:that production build:
but should instead:
The text was updated successfully, but these errors were encountered: