Skip to content

Remove unnecessary Babel presets#130

Closed
toinevk wants to merge 2 commits into
cleverbeagle:masterfrom
toinevk:master
Closed

Remove unnecessary Babel presets#130
toinevk wants to merge 2 commits into
cleverbeagle:masterfrom
toinevk:master

Conversation

@toinevk

@toinevk toinevk commented Mar 2, 2018

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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

toinevk commented Mar 2, 2018

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
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.

2 participants