summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2019-01-09 00:20:56 -0600
committerMike Greiling <mike@pixelcog.com>2019-01-09 00:20:56 -0600
commit5d4c7b4f137bec6470c6ba63ff203dc89bbc387c (patch)
tree97c304cad3fa5bda6ecc0f15ba18e6047b491390
parenteeb14253e006a6f768deb1938c405f139ef2a3a0 (diff)
downloadgitlab-ce-5d4c7b4f137bec6470c6ba63ff203dc89bbc387c.tar.gz
Add support for addl stage-3 plugins
-rw-r--r--.babelrc.js1
-rw-r--r--package.json1
-rw-r--r--yarn.lock8
3 files changed, 10 insertions, 0 deletions
diff --git a/.babelrc.js b/.babelrc.js
index bfcc7d96634..1b05a67354e 100644
--- a/.babelrc.js
+++ b/.babelrc.js
@@ -18,6 +18,7 @@ const plugins = [
'@babel/plugin-syntax-import-meta',
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-json-strings',
+ '@babel/plugin-proposal-private-methods',
];
// add code coverage tooling if necessary
diff --git a/package.json b/package.json
index 5d33952f9b5..d88af038899 100644
--- a/package.json
+++ b/package.json
@@ -22,6 +22,7 @@
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.2.3",
"@babel/plugin-proposal-json-strings": "^7.2.0",
+ "@babel/plugin-proposal-private-methods": "^7.2.3",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-syntax-import-meta": "^7.2.0",
"@babel/preset-env": "^7.2.3",
diff --git a/yarn.lock b/yarn.lock
index 21e41d7b638..ef3dea26896 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -296,6 +296,14 @@
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-syntax-optional-catch-binding" "^7.2.0"
+"@babel/plugin-proposal-private-methods@^7.2.3":
+ version "7.2.3"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.2.3.tgz#aff0f5436df2c4365938c0309d551984e42c290c"
+ integrity sha512-jehrt1/TuLdLeBAVEv1VmTCNJcvSj+5Ozp7l21DN19Ylo0ATxpZ5bDk8i4WS9Ngvdgk/YTcqJCTp3uY2lwQoxw==
+ dependencies:
+ "@babel/helper-create-class-features-plugin" "^7.2.3"
+ "@babel/helper-plugin-utils" "^7.0.0"
+
"@babel/plugin-proposal-unicode-property-regex@^7.2.0":
version "7.2.0"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.2.0.tgz#abe7281fe46c95ddc143a65e5358647792039520"