craco-use-babelrc icon indicating copy to clipboard operation
craco-use-babelrc copied to clipboard

Add option to retain default config

Open nirvdrum opened this issue 4 years ago • 0 comments

I'm looking to load up babel-plugin-relay in my CRA app. This should be an additive plugin, not something that replaces the defaults. While I can add all the default entries to my .babelrc, that runs the risk of the entries growing stale as CRA grows. As a result, I think it'd be helpful to have an option that doesn't simply replace the original Babel config, but rather allows prepending/appending to it.

nirvdrum avatar Dec 03 '19 17:12 nirvdrum