babel/packages/babel-plugin-transform-classes
Nicolò Ribaudo 2c31587aa1
Fix createSuper in Babel <7.5.5 (#11341)
* Fix createSuper in Babel <7.5.5

In Babel <7.5.5, addHelper only throws when called for the first time.
This was fixed by babel/babel#10208, but since we are already adding
a workaround for <7.9.0, we may as well fix <7.5.5

* Use 7.0.0 in "babel-old-version" test
2020-04-02 17:52:50 +02:00
..
2020-03-21 14:57:31 +01:00

@babel/plugin-transform-classes

Compile ES2015 classes to ES5

See our website @babel/plugin-transform-classes for more information.

Install

Using npm:

npm install --save-dev @babel/plugin-transform-classes

or using yarn:

yarn add @babel/plugin-transform-classes --dev