react-native-community / cli

The React Native Community CLI - command line tools to help you build RN apps
MIT License
2.41k stars 905 forks source link

fix(config): fix `loadConfig()` failing with "missing loader for extension" #2550

Closed tido64 closed 2 weeks ago

tido64 commented 2 weeks ago

Summary:

Part 2 of https://github.com/react-native-community/cli/pull/2549 because I had missed a spot, even though I thought I had tested this properly.

Test Plan:

This is enough to trigger the error:

node -p 'require("@react-native-community/cli").loadConfig({})'

Checklist

thymikee commented 2 weeks ago

Released in v15.1.2

tido64 commented 2 weeks ago

Released in v15.1.2

Thanks for the super quick turnaround!