Closed hjylewis closed 4 years ago
Which package? @formatjs/cli
@formatjs/cli
Describe the bug Not ignoring babel project wide config files (i.e. babel.config.json). More info here https://babeljs.io/docs/en/config-files.
babel.config.json
To Reproduce Steps to reproduce the behavior:
.babelrc
Expected behavior The cli should ignore the babel.config.json file like it ignores the .babelrc files.
Additional context Passing false to the configFile option should fix this https://babeljs.io/docs/en/options#configfile. Similar to how the cli passes false to the babelrc option.
false
configFile
babelrc
Thanks! @longlho
Which package?
@formatjs/cli
Describe the bug Not ignoring babel project wide config files (i.e.
babel.config.json
). More info here https://babeljs.io/docs/en/config-files.To Reproduce Steps to reproduce the behavior:
babel.config.json
babel.config.json
file has not been properly ignored until the.babelrc
files which ARE ignored.Expected behavior The cli should ignore the
babel.config.json
file like it ignores the.babelrc
files.Additional context Passing
false
to theconfigFile
option should fix this https://babeljs.io/docs/en/options#configfile. Similar to how the cli passesfalse
to thebabelrc
option.