webpack-encore
webpack-encore copied to clipboard
Trigger a warning if configureBabel() is called with includeNodeModules and a .babelrc file
.babelrc files don't apply to the node_modules folder which can lead to unexpected behavior if configureBabel() is called with the includeNodeModules option.
We should recommend users to create a project-wide babel.config.json file instead in this case.
See https://github.com/symfony/webpack-encore/issues/785#issuecomment-641945537