fix: add classPrivateProperties and classPrivateMethods to missing plugin helper (#11397)
* fix: add classPrivateProperties and classPrivateMethods to missing plugin helper * make flow happy
This commit is contained in:
parent
cab1e79ba7
commit
88b12e3dd1
@ -11,6 +11,26 @@ const pluginNameMap = {
|
|||||||
url: "https://git.io/vb4SL",
|
url: "https://git.io/vb4SL",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
classPrivateProperties: {
|
||||||
|
syntax: {
|
||||||
|
name: "@babel/plugin-syntax-class-properties",
|
||||||
|
url: "https://git.io/vb4yQ",
|
||||||
|
},
|
||||||
|
transform: {
|
||||||
|
name: "@babel/plugin-proposal-class-properties",
|
||||||
|
url: "https://git.io/vb4SL",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
classPrivateMethods: {
|
||||||
|
syntax: {
|
||||||
|
name: "@babel/plugin-syntax-class-properties",
|
||||||
|
url: "https://git.io/vb4yQ",
|
||||||
|
},
|
||||||
|
transform: {
|
||||||
|
name: "@babel/plugin-proposal-private-methods",
|
||||||
|
url: "https://git.io/JvpRG",
|
||||||
|
},
|
||||||
|
},
|
||||||
decorators: {
|
decorators: {
|
||||||
syntax: {
|
syntax: {
|
||||||
name: "@babel/plugin-syntax-decorators",
|
name: "@babel/plugin-syntax-decorators",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user