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

Remove unnecessary Babel presets #130

Closed
wants to merge 2 commits into from
Closed

Conversation

toinevk
Copy link
Contributor

@toinevk toinevk commented Mar 2, 2018

As noted by Ben in meteor/meteor#9571 (comment) & meteor/meteor#9469 (comment) these presets are unnecessary because Meteor already provides them. They add unnecessary additional build time and the recommended approach is to use plugins only. The requests aligns pup with Ben's recommended approach.

As noted by Ben these presets are unnecessary as meteor provides them
by default. These add unnecessary time to the build.
@cleverbeagle
Copy link
Owner

Hey @toinevk, good catch. I haven't tested on my end, but does the app start up okay after removing these? If I recall, when we added the Lodash plugin, I was getting a ton of errors without specifying the env and react presets. Is this no longer the case?

@toinevk
Copy link
Contributor Author

toinevk commented Mar 2, 2018

Yes, no issues on my end, I used a fresh install of pup so your mileage might vary where lodash is used more heavily. I suspect that with Meteor updating to Babel 7 the missing plugin has been included.

@cleverbeagle
Copy link
Owner

Merged as part of 1.5.0 release. Closing this out. Thanks @toinevk :)

cleverbeagle pushed a commit that referenced this pull request Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants