summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Knox <psimyn@gmail.com>2018-10-16 19:17:39 +1100
committerSimon Knox <psimyn@gmail.com>2018-10-16 19:17:39 +1100
commit293f4eabf64abcc7691a05dbfbf0e0f7a7563dbf (patch)
tree3b81c42e74d7c33a40a3814bb6a387d8d07bb7c8
parentbb5c1624daf1b14835f362314abad81850c97ae9 (diff)
downloadgitlab-ce-psimyn-add-babel-chaining.tar.gz
Add comments listing proposal stagepsimyn-add-babel-chaining
-rw-r--r--.babelrc.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/.babelrc.js b/.babelrc.js
index 1066b562816..968b5581d70 100644
--- a/.babelrc.js
+++ b/.babelrc.js
@@ -12,12 +12,14 @@ const presets = [
],
];
-// include stage 3 proposals
const plugins = [
+ // stage 3 proposals
'@babel/plugin-syntax-dynamic-import',
'@babel/plugin-syntax-import-meta',
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-json-strings',
+
+ // stage 1 proposals
'@babel/plugin-proposal-optional-chaining',
'@babel/plugin-syntax-optional-chaining',
];