Skip to content

Support ES Module / Typescript config #916

@acalvino4

Description

@acalvino4

Feature request: support typescript / esm config

What is the current behavior?

Metro does not look for a metro.config.ts, and if it did, I have no idea whether it would be configurable as a module.

This seems necessary sooner or later, as the ecosystem is moving to modules, and majority of people are using typescript (RN just made it the default for new projects).

What is the desired behavior?

Metro uses metro.config.ts if it exists, and the docs include an example of what this looks like.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions