web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
718 B

  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. var _helperPluginUtils = require("@babel/helper-plugin-utils");
  7. var _helperCreateClassFeaturesPlugin = require("@babel/helper-create-class-features-plugin");
  8. var _default = (0, _helperPluginUtils.declare)((api, options) => {
  9. api.assertVersion(7);
  10. return (0, _helperCreateClassFeaturesPlugin.createClassFeaturePlugin)({
  11. name: "proposal-private-methods",
  12. api,
  13. feature: _helperCreateClassFeaturesPlugin.FEATURES.privateMethods,
  14. loose: options.loose,
  15. manipulateOptions(opts, parserOpts) {
  16. parserOpts.plugins.push("classPrivateMethods");
  17. }
  18. });
  19. });
  20. exports.default = _default;