|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 1 | "use strict";
|
|---|
| 2 |
|
|---|
| 3 | Object.defineProperty(exports, "__esModule", {
|
|---|
| 4 | value: true
|
|---|
| 5 | });
|
|---|
| 6 | exports.pluginsBugfixes = exports.plugins = exports.overlappingPlugins = void 0;
|
|---|
| 7 | var _availablePlugins = require("./available-plugins.js");
|
|---|
| 8 | const originalPlugins = require("@babel/compat-data/plugins"),
|
|---|
| 9 | originalPluginsBugfixes = require("@babel/compat-data/plugin-bugfixes"),
|
|---|
| 10 | originalOverlappingPlugins = require("@babel/compat-data/overlapping-plugins");
|
|---|
| 11 | const keys = Object.keys;
|
|---|
| 12 | const plugins = exports.plugins = filterAvailable(originalPlugins);
|
|---|
| 13 | const pluginsBugfixes = exports.pluginsBugfixes = filterAvailable(originalPluginsBugfixes);
|
|---|
| 14 | const overlappingPlugins = exports.overlappingPlugins = filterAvailable(originalOverlappingPlugins);
|
|---|
| 15 | overlappingPlugins["syntax-import-attributes"] = ["syntax-import-assertions"];
|
|---|
| 16 | function filterAvailable(data) {
|
|---|
| 17 | const result = {};
|
|---|
| 18 | for (const plugin of keys(data)) {
|
|---|
| 19 | if (hasOwnProperty.call(_availablePlugins.default, plugin)) {
|
|---|
| 20 | result[plugin] = data[plugin];
|
|---|
| 21 | }
|
|---|
| 22 | }
|
|---|
| 23 | return result;
|
|---|
| 24 | }
|
|---|
| 25 |
|
|---|
| 26 | //# sourceMappingURL=plugins-compat-data.js.map
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.