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

Update babel preset #821

Open
2 tasks done
igorschoester opened this issue Feb 6, 2019 · 0 comments
Open
2 tasks done

Update babel preset #821

igorschoester opened this issue Feb 6, 2019 · 0 comments

Comments

@igorschoester
Copy link
Member

igorschoester commented Feb 6, 2019

  • I've read and understood the contribution guidelines.
  • I've searched for any related issues and avoided creating a duplicate issue.

Please give us a description of what happened.

The babel preset used is es2015 (and react in the .babelrc, not in the webpack config). While in the plugin the more modern env is used. See: https://babeljs.io/docs/en/env

Please describe what you expected to happen and why.

To have similar usage of Babel in the standalone and the plugin.

How can we reproduce this behavior?

Technical info

  • yoast-components version: v4.19.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant