I've integrated babel-preset-react-app into my project with the following .babelrc configuration:
{
"presets": ["react-app"],
"plugins": [
"transform-es2015-modules-commonjs",
"transform-async-generator-functions"
]
}
Currently, I'm facing a challenge in customizing the options for babel-plugin-transform-runtime
. Despite my attempts to install the plugin and modify the .babelrc as shown below:
{
"presets": ["react-app"],
"plugins": [
["babel-plugin-transform-runtime", {
"helpers": false,
"polyfill": false,
"regenerator": false
}],
"transform-es2015-modules-commonjs",
"transform-async-generator-functions"
]
}
This approach doesn't seem to be effective for me.
Is there an alternative method I can explore without having to manually copy and paste the entire preset into my .babelrc file?