Skip to content

Enable jsxImportSource #718

Closed
Closed
@gagoar

Description

👋🏻 @evanw, thanks for your amazing project!

We were moving a group of tooling to use esbuild (from rollout + tsc) and we started having errors given that we use jsxImportSource in our tsconfig.json in order to enable the use of @emotion/react. This has allowed us to avoid adding the pragma on every file.

We got this idea from here

in the meantime, is there a workaround to make it work?

We tried to add --jsx-factory=jsxs but the module is not there.

Thanks.

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