Skip to content

Commit

Permalink
Merge pull request #376 from babel/prevent-configFile
Browse files Browse the repository at this point in the history
Ensure `babel.config.js` is not used without `useBabelConfig` option
  • Loading branch information
rwjblue committed Jan 19, 2021
2 parents 0367237 + 9da09dc commit d253e2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ module.exports = {

options.highlightCode = this._shouldHighlightCode();
options.babelrc = false;
options.configFile = false;

return options;
},
Expand Down

0 comments on commit d253e2f

Please sign in to comment.