babelrc: false still reads .babelrc file
See original GitHub issueI’m submitting a bug report
Webpack Version: 2.2.1
Babel Core Version: ~5.24.0~ 6.24.0
Babel Loader Version: 6.4.0
Please tell us about your environment: maxOS 10.12.3
Current behavior:
When using babelrc: false
, babel-loader still reads from babelrc file
Expected/desired behavior: Should not read from babelrc file
-
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem along with a gist/jsbin of your webpack configuration. https://gist.github.com/hulkish/5d225beda0fc6cc1c1332befc00f0edf
-
What is the expected behavior? (per the example) react-hot-loader/babel should not be included in bundle. However, it indeed does show up.
-
What is the motivation / use case for changing the behavior? babelrc: false should completely ignore all .babelrc files
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (4 by maintainers)
@hulkish I’m having same issue. I’m having similar webpack config file and want to skip babelrc and rather use the config set in webpack file.
It would be best to create a reproducible example repository and file a new issue.