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