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

Drop stage-0 babel preset #207

Closed
shawnbot opened this issue Aug 13, 2018 · 0 comments
Closed

Drop stage-0 babel preset #207

shawnbot opened this issue Aug 13, 2018 · 0 comments
Labels
enhancement New feature or request ⭐️rep an industry leading reputation

Comments

@shawnbot
Copy link
Contributor

After reading this post, I'm pretty well convinced that we shouldn't be using stage-0 in our Babel presets. That stage contains a lot of different transforms, but (AFAIK) the only one we're actually using is object rest/spread. If that's true, then we should be much more explicit and only use plugins: ['transform-object-rest-spread']. In theory, it could also speed up our builds a bit by loading fewer plugins whenever babel is invoked.

@shawnbot shawnbot added enhancement New feature or request ⭐️rep an industry leading reputation v1 labels Aug 13, 2018
@emplums emplums closed this as completed Aug 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ⭐️rep an industry leading reputation
Projects
None yet
Development

No branches or pull requests

2 participants