loadPartialConfig fails to clear the overrides/test/include/exclude fields from its result
See original GitHub issueI’m submitting a bug report
Webpack Version: 3.10.0
Babel Core Version: 7.0.0-beta.53
Babel Loader Version: 8.0.0-beta.3
Please tell us about your environment: OSX 10.13.5
Current behavior:
I give configFile
as options
like:
...
options: {
configFile: '../../babel.config.js',
},
...
And this will not get any plugins
or presets
with babel.config.js
.
Expected/desired behavior:
-
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. Just need to add
babel.config.js
tooptions.configFile
. -
What is the expected behavior? This should work with
babel.config.js
. -
What is the motivation / use case for changing the behavior? I use
babel.config.js
in amono repo
. As a result, I want tobabel.config.js
can work, and I only need to write a config file to the root folder.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (4 by maintainers)
I’ve posted https://github.com/babel/babel/pull/8315 which should address this once it is merged and published.
Perfect, thanks. I see just what the problem is now.