fix(cloudcmd) client: build: optional chaining

This commit is contained in:
coderaiser 2020-12-30 14:02:36 +02:00
parent 77d02c7844
commit 9a13502597
3 changed files with 3 additions and 4 deletions

View file

@ -4,5 +4,6 @@
],
"plugins": [
"module:babel-plugin-macros",
"@babel/plugin-proposal-optional-chaining"
]
}

View file

@ -29,10 +29,7 @@ const clean = (array) => array.filter(notEmpty);
const noParse = (a) => /\.spec\.js$/.test(a);
const options = {
babelrc: false,
plugins: [
'module:babel-plugin-macros',
],
babelrc: true,
};
const rules = clean([

View file

@ -161,6 +161,7 @@
"devDependencies": {
"@babel/code-frame": "^7.5.5",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-optional-chaining": "^7.12.7",
"@babel/preset-env": "^7.0.0",
"@cloudcmd/clipboard": "^2.0.0",
"@cloudcmd/create-element": "^2.0.0",