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

fix: babel options #7865

Merged
merged 2 commits into from
Sep 5, 2018
Merged

fix: babel options #7865

merged 2 commits into from
Sep 5, 2018

Conversation

jquense
Copy link
Contributor

@jquense jquense commented Sep 4, 2018

we don't need to disable babelrc lookup now that we are using the babel apis

Also i accidentally commited this directly to master and then reverted it SORRY (i'm tired)!

we don't need to disable babelrc lookup now that we are using the babel apis
@pieh
Copy link
Contributor

pieh commented Sep 5, 2018

Will this fix #7868 ? From issue description it would seem like #7838 broke loading babelrc files

@jquense
Copy link
Contributor Author

jquense commented Sep 5, 2018

It'll fix it yeah. The issue is it wasn't using the Babel options Gatsby set, but those options were also wrong :P fix a bug to uncover a new one

Copy link
Contributor

@pieh pieh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jquense!

@pieh pieh merged commit 9c45441 into master Sep 5, 2018
@pieh pieh deleted the jquense-patch-1 branch September 5, 2018 12:48
@jquense
Copy link
Contributor Author

jquense commented Sep 5, 2018

thank you for fixing the snapshots! i did this in the GH editor :P

@akoolenbourke
Copy link

Can someone tell me, does a .babelrc completely override Gatsby's or does it merge? I've made one with just the decorators plugin and now it won't build. It's complaining about spreads not being supported so I assume it's now ignored Gatsby's initial .babelrc

@noah79
Copy link

noah79 commented Sep 16, 2018

Same problem as @akoolenbourke

@jquense
Copy link
Contributor Author

jquense commented Sep 17, 2018

Adding your own will replace the default one yes,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants