Enable external-helpers by default in tests (#12911)
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com> Co-authored-by: Babel Bot <babel-bot@users.noreply.github.com>
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
"transform-function-name",
|
||||
"transform-classes",
|
||||
["proposal-decorators", { "legacy": true }],
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
"transform-function-name",
|
||||
"transform-modules-commonjs",
|
||||
"transform-classes",
|
||||
|
||||
@@ -7,14 +7,10 @@ exports.default = void 0;
|
||||
|
||||
var _store = require("./store");
|
||||
|
||||
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; }
|
||||
|
||||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
||||
|
||||
let Login = /*#__PURE__*/function (_React$Component) {
|
||||
babelHelpers.inherits(Login, _React$Component);
|
||||
|
||||
var _super = _createSuper(Login);
|
||||
var _super = babelHelpers.createSuper(Login);
|
||||
|
||||
function Login() {
|
||||
babelHelpers.classCallCheck(this, Login);
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
"transform-function-name",
|
||||
"transform-modules-commonjs",
|
||||
"transform-classes",
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
"transform-function-name",
|
||||
"transform-classes",
|
||||
["proposal-decorators", { "legacy": true }]
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
"transform-function-name",
|
||||
["transform-arrow-functions", { "spec": true }]
|
||||
]
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
"transform-function-name",
|
||||
"transform-arrow-functions"
|
||||
]
|
||||
"plugins": ["transform-function-name", "transform-arrow-functions"]
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"plugins": ["external-helpers", "transform-function-name"]
|
||||
"plugins": ["transform-function-name"]
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"plugins": ["external-helpers", "transform-function-name"]
|
||||
"plugins": ["transform-function-name"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user