UNPKG

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