mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* Fix: Throw when super in arrow with default / rest * Add allowInsertArrowWithRest and improve throw * Update packages/babel-traverse/src/path/conversion.ts Co-authored-by: Huáng Jùnliàng <[email protected]> Co-authored-by: Huáng Jùnliàng <[email protected]>
5 lines
281 B
JSON
5 lines
281 B
JSON
{
|
|
"plugins": ["transform-arrow-functions"],
|
|
"throws": "When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super.prop` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration."
|
|
}
|