-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove the CLI config file #73
Comments
ENOENT: no such file or directory, open '/MY_PATH/react-native-typescript-transformer' The second problem is extensions also need So, the right command would be yarn start --transformer "node_modules/react-native-typescript-transformer/index.js" --sourceExts "ts,tsx" |
Good point. My thinking behind recommending the rn-cli.config.js file is that there are a bunch of ways to run the packager. e.g. So yeah, I'm not crazy about the proliferation of config files, but not sure that getting rid of this one would help anyone 🤷♀️ |
Yeah, I agree, I don't see much value also - I went and documented this file a bit on the site facebook/react-native-website#462 |
👋 - I was looking at updating the docs for RN around the cli-config.js file, and in digging around in the RN source code, I noticed that we might not need to do that anymore.
Basically, we added the cli-config to ensure that this code could resolve to this dep.
But passing in
should also work, and in an ideal case support in RN could be improved to handle
Meaning a bit less process, it's a trade-off, and not one I'm sure I want to recommend yet - but worth noting
The text was updated successfully, but these errors were encountered: