Skip to content

Commit 69ac4cf

Browse files
authored
fix(config): fix loadConfig() failing with "missing loader for extension" (#2550)
1 parent 0a0a3c3 commit 69ac4cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli-config/src/readConfigFromDisk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export async function readConfigFromDiskAsync(
5757
export function readConfigFromDisk(rootFolder: string): UserConfig {
5858
const explorer = cosmiconfigSync('react-native', {
5959
stopDir: rootFolder,
60-
searchPlaces,
60+
searchPlaces: searchPlacesForCJS,
6161
});
6262

6363
const searchResult = explorer.search(rootFolder);

0 commit comments

Comments
 (0)