Page MenuHomePhabricator

[keyserver] Have @babel/preset-react use automatic runtime
ClosedPublic

Authored by will on Nov 13 2024, 11:44 AM.
Tags
None
Referenced Files
F3514035: D13927.id46275.diff
Sun, Dec 22, 3:06 AM
F3512941: D13927.diff
Sat, Dec 21, 9:11 PM
Unknown Object (File)
Fri, Dec 20, 8:02 PM
Unknown Object (File)
Thu, Dec 19, 10:02 PM
Unknown Object (File)
Thu, Dec 19, 4:13 AM
Unknown Object (File)
Mon, Dec 16, 1:06 AM
Unknown Object (File)
Mon, Dec 16, 1:06 AM
Unknown Object (File)
Mon, Dec 16, 1:06 AM
Subscribers

Details

Summary

This changes the preset-react to use the automatic runtime instead of classic

Further details can be found in the description of https://linear.app/comm/issue/ENG-9914/configure-babelpreset-react-to-use-automatic-runtime-instead-of

Depends on D13926

Test Plan

Will test more thoroughly later in the stack. Including the changes in this diff removes the importSource cannot be set when runtime is classic error when we try to import hono/jsx

Diff Detail

Repository
rCOMM Comm
Branch
frames
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

will published this revision for review.Nov 13 2024, 11:45 AM
This revision is now accepted and ready to land.Nov 13 2024, 12:50 PM

avoid flow errors by setting react.runtime option to automatic

move react.automatic line

This revision was landed with ongoing or failed builds.Mon, Dec 9, 4:56 PM
This revision was automatically updated to reflect the committed changes.