Skip to content

Commit 17dd4e3

Browse files
samijabersatya164
authored andcommitted
allow bob.config.cjs
1 parent a5d472b commit 17dd4e3

File tree

1 file changed

+1
-1
lines changed
  • packages/react-native-builder-bob/src

1 file changed

+1
-1
lines changed

packages/react-native-builder-bob/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const { name, version } = require('../package.json');
1818

1919
const root = process.cwd();
2020
const explorer = cosmiconfigSync(name, {
21-
searchPlaces: ['package.json', `bob.config.js`],
21+
searchPlaces: ['package.json', `bob.config.js`, 'bob.config.cjs'],
2222
});
2323

2424
const FLOW_PRGAMA_REGEX = /\*?\s*@(flow)\b/m;

0 commit comments

Comments
 (0)