source: trip-planner-front/node_modules/@babel/preset-env/lib/plugins-compat-data.js

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 917 bytes
Line 
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"];
Note: See TracBrowser for help on using the repository browser.