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:
Huáng Jùnliàng 2020-04-09 19:41:14 -04:00 committed by GitHub
parent cab1e79ba7
commit 88b12e3dd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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",