2020-03-31 20:42:07 +08:00
|
|
|
"use strict";
|
|
|
|
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
|
|
value: true
|
|
|
|
});
|
|
|
|
exports.default = void 0;
|
|
|
|
|
2020-03-31 20:57:48 +08:00
|
|
|
function _helperPluginUtils() {
|
|
|
|
const data = require("@babel/helper-plugin-utils");
|
2020-03-31 20:42:07 +08:00
|
|
|
|
2020-03-31 20:57:48 +08:00
|
|
|
_helperPluginUtils = function () {
|
|
|
|
return data;
|
|
|
|
};
|
|
|
|
|
|
|
|
return data;
|
|
|
|
}
|
|
|
|
|
|
|
|
var _default = (0, _helperPluginUtils().declare)(api => {
|
2020-03-31 20:42:07 +08:00
|
|
|
api.assertVersion(7);
|
|
|
|
return {
|
|
|
|
name: "syntax-object-rest-spread",
|
|
|
|
|
|
|
|
manipulateOptions(opts, parserOpts) {
|
|
|
|
parserOpts.plugins.push("objectRestSpread");
|
|
|
|
}
|
|
|
|
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
exports.default = _default;
|