Add to preset-env ES3 transforms for ES3 targets (#9781)
* add to preset-env ES3 transforms for ES3 targets * add `transform-reserved-words` * fix `transform-reserved-words` plugin in `@babel/standalone`
This commit is contained in:
committed by
Nicolò Ribaudo
parent
1f5444e96a
commit
ae9b25ac69
@@ -3,11 +3,11 @@
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
exports["default"] = void 0;
|
||||
|
||||
var _args = _interopRequireDefault(require("utils/url/args"));
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
||||
|
||||
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
||||
|
||||
@@ -55,11 +55,11 @@ function (_Component) {
|
||||
_createClass(App, [{
|
||||
key: "componentDidMount",
|
||||
value: function componentDidMount() {
|
||||
this.exportType = _args.default.get('type', window.location.href);
|
||||
this.exportType = _args["default"].get('type', window.location.href);
|
||||
}
|
||||
}]);
|
||||
|
||||
return App;
|
||||
}(Component);
|
||||
|
||||
exports.default = App;
|
||||
exports["default"] = App;
|
||||
|
||||
Reference in New Issue
Block a user