Last change
on this file since 571e0df 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 |
|
---|
3 | Object.defineProperty(exports, "__esModule", {
|
---|
4 | value: true
|
---|
5 | });
|
---|
6 | exports.pluginsBugfixes = exports.plugins = void 0;
|
---|
7 |
|
---|
8 | var _plugins = require("@babel/compat-data/plugins");
|
---|
9 |
|
---|
10 | var _pluginBugfixes = require("@babel/compat-data/plugin-bugfixes");
|
---|
11 |
|
---|
12 | var _availablePlugins = require("./available-plugins");
|
---|
13 |
|
---|
14 | const pluginsFiltered = {};
|
---|
15 | exports.plugins = pluginsFiltered;
|
---|
16 | const bugfixPluginsFiltered = {};
|
---|
17 | exports.pluginsBugfixes = bugfixPluginsFiltered;
|
---|
18 |
|
---|
19 | for (const plugin of Object.keys(_plugins)) {
|
---|
20 | if (Object.hasOwnProperty.call(_availablePlugins.default, plugin)) {
|
---|
21 | pluginsFiltered[plugin] = _plugins[plugin];
|
---|
22 | }
|
---|
23 | }
|
---|
24 |
|
---|
25 | for (const plugin of Object.keys(_pluginBugfixes)) {
|
---|
26 | if (Object.hasOwnProperty.call(_availablePlugins.default, plugin)) {
|
---|
27 | bugfixPluginsFiltered[plugin] = _pluginBugfixes[plugin];
|
---|
28 | }
|
---|
29 | }
|
---|
30 |
|
---|
31 | pluginsFiltered["proposal-class-properties"] = pluginsFiltered["proposal-private-methods"]; |
---|
Note:
See
TracBrowser
for help on using the repository browser.