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
Current code using wrong signature hidden below magic linter comment.
So, some context got lost but without reported.
Maybe some plugins just not effected by that lost context.
babel-plugin-codegen
version: 3.0.0node
version: 10.13.0npm
(oryarn
) version: 1.12.3Plugin doesn't work if your Babel config is in
babel.config.js
, but all works fine if it is in.babelrc
babel.config.js
.babelrc
What you did:
What happened:
When I use
babel.config.js
, I get export from module as string "module.exports = []", like there is no top comment "// @codegen".When I use
.babelrc
, I get empty array as export from module, as it should be.Reproduction repository:
https://github.com/serhiipalash/test-babel-codegen
Latest Expo has babel config in
babel.config.js
, and I don't want to change it as it is the standard for all future releases.The text was updated successfully, but these errors were encountered: