Manually inline the createSuper helper on older Babel versions (#11298)
* Manually inline the createSuper helper on older Babel versions * Forgot to commit this * Add comments [skip ci]
This commit is contained in:
@@ -735,6 +735,7 @@ helpers.possibleConstructorReturn = helper("7.0.0-beta.0")`
|
||||
}
|
||||
`;
|
||||
|
||||
// This is duplicated to packages/babel-plugin-transform-classes/src/inline-createSuper-helpers.js
|
||||
helpers.createSuper = helper("7.9.0")`
|
||||
import getPrototypeOf from "getPrototypeOf";
|
||||
import isNativeReflectConstruct from "isNativeReflectConstruct";
|
||||
|
||||
Reference in New Issue
Block a user