amis-rpc-design/node_modules/@babel/plugin-syntax-logical-assignment-operators/lib/index.js
2023-10-07 19:42:30 +08:00

22 lines
451 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _helperPluginUtils = require("@babel/helper-plugin-utils");
var _default = (0, _helperPluginUtils.declare)(api => {
api.assertVersion(7);
return {
name: "syntax-logical-assignment-operators",
manipulateOptions(opts, parserOpts) {
parserOpts.plugins.push("logicalAssignment");
}
};
});
exports.default = _default;