webpack-encore icon indicating copy to clipboard operation
webpack-encore copied to clipboard

Trigger a warning if configureBabel() is called with includeNodeModules and a .babelrc file

Open Lyrkan opened this issue 5 years ago • 1 comments

.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

Lyrkan avatar Jul 31 '20 07:07 Lyrkan