You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello everyone,
I was following the Gatsby Babel documentation for custom babel configuration, but I am getting:
"babel-preset-gatsby has been loaded, which consumes config generated by the Gatsby CLI. Set NODE_ENV=test to bypass, or run gatsby build first."
Which make sense: https://github.com/gatsbyjs/gatsby/blob/master/packages/babel-preset-gatsby/src/index.js
So,
babel-preset-gatsby
cannot be used for custombabelrc
configuration?Should I use
babel-preset-gatsby-package
instead?Thanks
Beta Was this translation helpful? Give feedback.
All reactions