474-transform
This commit is contained in:
parent
01d5d5ebc7
commit
afe85c11a7
@ -4,9 +4,9 @@ var A = function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
babelHelpers.createClass(A, [{
|
babelHelpers.createClass(A, [{
|
||||||
key: 'foo',
|
key: "foo",
|
||||||
value: function foo() {
|
value: function foo() {
|
||||||
return 'bar';
|
return "bar";
|
||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
return A;
|
return A;
|
||||||
@ -19,12 +19,12 @@ var B = function (_A) {
|
|||||||
var _temp, _this, _ret;
|
var _temp, _this, _ret;
|
||||||
|
|
||||||
babelHelpers.classCallCheck(this, B);
|
babelHelpers.classCallCheck(this, B);
|
||||||
return _ret = (_temp = (_this = babelHelpers.possibleConstructorReturn(this, (B.__proto__ || Object.getPrototypeOf(B)).call(this, ...args)), _this), Object.defineProperty(_this, 'foo', {
|
return _ret = (_temp = (_this = babelHelpers.possibleConstructorReturn(this, (B.__proto__ || Object.getPrototypeOf(B)).call(this, ...args)), _this), Object.defineProperty(_this, "foo", {
|
||||||
enumerable: true,
|
enumerable: true,
|
||||||
writable: true,
|
writable: true,
|
||||||
value: babelHelpers.get(B.prototype.__proto__ || Object.getPrototypeOf(B.prototype), 'foo', _this).call(_this)
|
value: babelHelpers.get(B.prototype.__proto__ || Object.getPrototypeOf(B.prototype), "foo", _this).call(_this)
|
||||||
}), _temp), babelHelpers.possibleConstructorReturn(_this, _ret);
|
}), _temp), babelHelpers.possibleConstructorReturn(_this, _ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
return B;
|
return B;
|
||||||
}(A);
|
}(A);
|
||||||
@ -0,0 +1 @@
|
|||||||
|
export * as default from "foo";
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
import * as _default from "foo";
|
||||||
|
export { _default as default };
|
||||||
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"plugins": ["external-helpers", "transform-export-extensions"]
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user