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
CRA doesn't use the .babelrc file. I believe you'd want
addBabelPlugin(["flow-runtime"]);
Basically, whatever you pass to addBabelPlugin will be passed to Babel's plugins array in the webpack config. Check Babel's docs for how to set that up.
Hi, I'm wondering how it would be possible to specify babel plugin configuration using the
addBabelPlugin
API. I've readcustomize-cra/index.js
Line 21 in 0c57208
Namely, I'm trying to get flow-runtime's babel plugin working https://codemix.github.io/flow-runtime/#/babel-plugin-flow-runtime with configuration.
Normally, I'd configure it with
.babelrc
by adding something like:But
customize-cra
doesn't seem to be picking up the config.Any help would be appreciated, and thanks for the work on this!
The text was updated successfully, but these errors were encountered: