source: imaps-frontend/node_modules/@babel/preset-env/lib/plugins-compat-data.js@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 1.0 KB
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.pluginsBugfixes = exports.plugins = exports.overlappingPlugins = void 0;
7var _plugins = require("@babel/compat-data/plugins");
8var _pluginBugfixes = require("@babel/compat-data/plugin-bugfixes");
9var _overlappingPlugins = require("@babel/compat-data/overlapping-plugins");
10var _availablePlugins = require("./available-plugins.js");
11const keys = Object.keys;
12const plugins = exports.plugins = filterAvailable(_plugins);
13const pluginsBugfixes = exports.pluginsBugfixes = filterAvailable(_pluginBugfixes);
14const overlappingPlugins = exports.overlappingPlugins = filterAvailable(_overlappingPlugins);
15{
16 overlappingPlugins["syntax-import-attributes"] = ["syntax-import-assertions"];
17}
18function filterAvailable(data) {
19 const result = {};
20 for (const plugin of keys(data)) {
21 if (hasOwnProperty.call(_availablePlugins.default, plugin)) {
22 result[plugin] = data[plugin];
23 }
24 }
25 return result;
26}
27
28//# sourceMappingURL=plugins-compat-data.js.map
Note: See TracBrowser for help on using the repository browser.