Skip to content

Commit

Permalink
[compiler][ez] Upgrade babel generator version for playground
Browse files Browse the repository at this point in the history
---
The current version of `@babel/generator` used by playground has some bugs (see babel/babel#10966)
```js
// Try pasting this into playground
function useFoo(a, b) {
  return (a ?? b) == c;
}

// Current playground output
function useFoo(a, b) {
  return a ?? b == c;
}
```

We previously locked babel library versions to be compatible with the oldest Meta internal usages. Now that both compiler and eslint plugins are bundled with rollup, this shouldn't be necessary.

ghstack-source-id: fa20d676b526d279817d1488f117262aa0869622
Pull Request resolved: facebook#30341
  • Loading branch information
felixshiftellecon committed Jul 24, 2024
1 parent 735d3d2 commit 05c2451
Show file tree
Hide file tree
Showing 2 changed files with 581 additions and 540 deletions.
Loading

0 comments on commit 05c2451

Please sign in to comment.