-
Notifications
You must be signed in to change notification settings - Fork 9
Support jsx-transform for React extensions #127
Comments
Is this required for the initial release or just a nice to have? |
I think we need to have this since the current build tool support it. I'll look into whether this is feasible. If it's not we'd need to add a disclaimer into our release notes that |
FYI: |
Is this still required for GA? |
@vividviolet is this still something we think is important for GA? |
I think so - it used to work with the old build tools so we'd just be putting back something that's missing |
@vividviolet are you able to share some context you have on how we might go ahead and implement this? |
looks like the ESBuild options are created here: |
Closing this issue - was resolved in Shopify/cli#577. |
Re-opening this because we only implemented this the Node CLI, not the Go CLI. The Node CLI isn't used publicly yet. Jsx implementation in Node To close this issue:
|
React 17 has support for jsx without React: https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Our ESBuilder needs to also add this support as it doesn't come for free. More info in this issue: evanw/esbuild#334
The text was updated successfully, but these errors were encountered: