Skip to content

Remove the CLI config file #73

Open
@orta

Description

@orta

👋 - 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

yarn start --transformer "node_modules/react-native-typescript-transformer/index.js" --sourceExts "ts"

should also work, and in an ideal case support in RN could be improved to handle

yarn start --transformer "react-native-typescript-transformer" --sourceExts "ts"

Meaning a bit less process, it's a trade-off, and not one I'm sure I want to recommend yet - but worth noting

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions