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
|
Rev | Line | |
---|
[79a0317] | 1 | "use strict";
|
---|
| 2 |
|
---|
| 3 | Object.defineProperty(exports, "__esModule", {
|
---|
| 4 | value: true
|
---|
| 5 | });
|
---|
| 6 | exports.pluginsBugfixes = exports.plugins = exports.overlappingPlugins = void 0;
|
---|
| 7 | var _plugins = require("@babel/compat-data/plugins");
|
---|
| 8 | var _pluginBugfixes = require("@babel/compat-data/plugin-bugfixes");
|
---|
| 9 | var _overlappingPlugins = require("@babel/compat-data/overlapping-plugins");
|
---|
| 10 | var _availablePlugins = require("./available-plugins.js");
|
---|
| 11 | const keys = Object.keys;
|
---|
| 12 | const plugins = exports.plugins = filterAvailable(_plugins);
|
---|
| 13 | const pluginsBugfixes = exports.pluginsBugfixes = filterAvailable(_pluginBugfixes);
|
---|
| 14 | const overlappingPlugins = exports.overlappingPlugins = filterAvailable(_overlappingPlugins);
|
---|
| 15 | {
|
---|
| 16 | overlappingPlugins["syntax-import-attributes"] = ["syntax-import-assertions"];
|
---|
| 17 | }
|
---|
| 18 | function 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.