Commit b28dc07
committed
fix: restore
<!-- Thanks for submitting a pull request! We appreciate you spending
the time to work on these changes. Please follow the template so that
the reviewers can easily understand what the code changes affect. -->
## Summary
Fixes
#6665
Applying the change I made to `react-native-builder-bob`:
- callstack/react-native-builder-bob#695
It restores `classic` runtime for the `@babel/react-native` preset used
for generating ESModule code. The behavior was changed when we bumped
builder-bob:
- #6485
## Test plan
I ran the `diff` for the version of `lib` without `jsxRuntime: classic`
and with it - the differences are only in regards to `_jsx` usage. You
can read more here:
-
#6665classic runtime for @babel/preset-react (#6760)1 parent 3212ae4 commit b28dc07
2 files changed
+8
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
| 162 | + | |
162 | 163 | | |
163 | 164 | | |
164 | 165 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17688 | 17688 | | |
17689 | 17689 | | |
17690 | 17690 | | |
17691 | | - | |
17692 | | - | |
17693 | | - | |
| 17691 | + | |
| 17692 | + | |
| 17693 | + | |
17694 | 17694 | | |
17695 | 17695 | | |
17696 | 17696 | | |
| |||
17716 | 17716 | | |
17717 | 17717 | | |
17718 | 17718 | | |
17719 | | - | |
| 17719 | + | |
17720 | 17720 | | |
17721 | 17721 | | |
17722 | 17722 | | |
| |||
17877 | 17877 | | |
17878 | 17878 | | |
17879 | 17879 | | |
17880 | | - | |
| 17880 | + | |
17881 | 17881 | | |
17882 | 17882 | | |
17883 | 17883 | | |
| |||
0 commit comments