Urara-Blog/node_modules/.pnpm-store/v3/files/97/fd7f02d23f092964e4e62936fdd9e6f6995794ead120685150d0890159658358a8356025cc980c05ec56335b605ff2fce5302f4c86749821ba78edcbf519b3
2022-08-14 01:14:53 +08:00

27 lines
No EOL
733 B
Text

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _helperPluginUtils = require("@babel/helper-plugin-utils");
var _helperCreateClassFeaturesPlugin = require("@babel/helper-create-class-features-plugin");
var _default = (0, _helperPluginUtils.declare)((api, options) => {
api.assertVersion(7);
return (0, _helperCreateClassFeaturesPlugin.createClassFeaturePlugin)({
name: "proposal-class-properties",
api,
feature: _helperCreateClassFeaturesPlugin.FEATURES.fields,
loose: options.loose,
manipulateOptions(opts, parserOpts) {
parserOpts.plugins.push("classProperties", "classPrivateProperties");
}
});
});
exports.default = _default;