Page MenuHomePhabricator

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

Authored by will on Wed, Nov 13, 11:44 AM.
Tags
None
Referenced Files
F3300042: D13927.id45849.diff
Sun, Nov 17, 4:47 PM
F3300041: D13927.id45848.diff
Sun, Nov 17, 4:47 PM
F3300040: D13927.id45817.diff
Sun, Nov 17, 4:47 PM
F3300039: D13927.id45815.diff
Sun, Nov 17, 4:47 PM
F3300038: D13927.id.diff
Sun, Nov 17, 4:47 PM
F3294190: D13927.id45849.diff
Sat, Nov 16, 6:39 PM
Unknown Object (File)
Sat, Nov 16, 3:42 PM
Unknown Object (File)
Sat, Nov 16, 2:24 PM
Subscribers

Details

Reviewers
ashoat
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
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

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

avoid flow errors by setting react.runtime option to automatic

move react.automatic line