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
In order to accept decorator (@things) babel require plugin @babel/plugin-proposal-decorators so I create my own .babelrc file based on Gatsby's doc.
But, latest release of Gatsby next seems to ignore custom .babelrc file.
Steps to reproduce
By updating to the latest release with "gatsby": "next" in package.json, it fails on each compilation . But by specifying "gatsby": "2.0.0-rc.8" it works back.
Description
In order to accept decorator (
@things
) babel require plugin@babel/plugin-proposal-decorators
so I create my own.babelrc
file based on Gatsby's doc.But, latest release of Gatsby next seems to ignore custom .babelrc file.
Steps to reproduce
By updating to the latest release with
"gatsby": "next"
in package.json, it fails on each compilation . But by specifying"gatsby": "2.0.0-rc.8"
it works back.custom .babelrc I use
Expected result
Custom .babelrc file seems to be taken into account in version lower than 2.0.0-rc.9.
Actual result
On Gatsby 2.0.0-rc.9, custom .babelrc is ignored. You can still specify rules in custom webpack configuration.
Environment
The text was updated successfully, but these errors were encountered: