fix: add new plugin names to missing plugin helpers (#11643)
This commit is contained in:
parent
d7d36a6c25
commit
6b7a6dccd2
@ -133,6 +133,12 @@ const pluginNameMap = {
|
||||
url: "https://git.io/vAlRe",
|
||||
},
|
||||
},
|
||||
moduleAttributes: {
|
||||
syntax: {
|
||||
name: "@babel/plugin-syntax-module-attributes",
|
||||
url: "https://git.io/JfK3k",
|
||||
},
|
||||
},
|
||||
numericSeparator: {
|
||||
syntax: {
|
||||
name: "@babel/plugin-syntax-numeric-separator",
|
||||
@ -163,6 +169,16 @@ const pluginNameMap = {
|
||||
url: "https://git.io/vb4SU",
|
||||
},
|
||||
},
|
||||
privateIn: {
|
||||
syntax: {
|
||||
name: "@babel/plugin-syntax-private-property-in-object",
|
||||
url: "https://git.io/JfK3q",
|
||||
},
|
||||
transform: {
|
||||
name: "@babel/plugin-proposal-private-property-in-object",
|
||||
url: "https://git.io/JfK3O",
|
||||
},
|
||||
},
|
||||
recordAndTuple: {
|
||||
syntax: {
|
||||
name: "@babel/plugin-syntax-record-and-tuple",
|
||||
@ -236,6 +252,9 @@ const pluginNameMap = {
|
||||
},
|
||||
};
|
||||
|
||||
//todo: we don't have plugin-syntax-private-property-in-object
|
||||
pluginNameMap.privateIn.syntax = pluginNameMap.privateIn.transform;
|
||||
|
||||
const getNameURLCombination = ({ name, url }) => `${name} (${url})`;
|
||||
|
||||
/*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user