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.

32 lines
1.1 KiB

  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.pluginsBugfixes = exports.plugins = void 0;
  6. var _plugins = _interopRequireDefault(require("@babel/compat-data/plugins"));
  7. var _pluginBugfixes = _interopRequireDefault(require("@babel/compat-data/plugin-bugfixes"));
  8. var _availablePlugins = _interopRequireDefault(require("./available-plugins"));
  9. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  10. const pluginsFiltered = {};
  11. exports.plugins = pluginsFiltered;
  12. const bugfixPluginsFiltered = {};
  13. exports.pluginsBugfixes = bugfixPluginsFiltered;
  14. for (const plugin of Object.keys(_plugins.default)) {
  15. if (Object.hasOwnProperty.call(_availablePlugins.default, plugin)) {
  16. pluginsFiltered[plugin] = _plugins.default[plugin];
  17. }
  18. }
  19. for (const plugin of Object.keys(_pluginBugfixes.default)) {
  20. if (Object.hasOwnProperty.call(_availablePlugins.default, plugin)) {
  21. bugfixPluginsFiltered[plugin] = _pluginBugfixes.default[plugin];
  22. }
  23. }
  24. pluginsFiltered["proposal-class-properties"] = pluginsFiltered["proposal-private-methods"];