Skip to content

Commit

Permalink
Add .babelrc.js file to the list of valid babel configs
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Mar 14, 2019
1 parent 7dc2785 commit a9ab1f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/scripts/utils/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const { hasPackageProp } = require( './package' );

const hasBabelConfig = () =>
hasProjectFile( '.babelrc' ) ||
hasProjectFile( '.babelrc.js' ) ||
hasProjectFile( 'babel.config.js' ) ||
hasPackageProp( 'babel' );

Expand Down

0 comments on commit a9ab1f4

Please sign in to comment.