diff options
| author | XhmikosR <[email protected]> | 2020-06-25 18:38:39 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-06-25 18:38:39 +0300 |
| commit | 22f32415c03a33547b64a080fa6bbd7e954b845f (patch) | |
| tree | 9a2d933f611fc9e57fa9cdabd8456ed3a9d56468 | |
| parent | acdeaed47df69c134154235b902fd12761b03f22 (diff) | |
| download | bootstrap-22f32415c03a33547b64a080fa6bbd7e954b845f.tar.xz bootstrap-22f32415c03a33547b64a080fa6bbd7e954b845f.zip | |
Update Babel config (#31011)
* remove plugin-proposal-object-rest-spread
* add bugfixes
* `exclude: ['transform-typeof-symbol']` did nothing with our config
| -rw-r--r-- | .babelrc.js | 7 | ||||
| -rw-r--r-- | package.json | 1 |
2 files changed, 2 insertions, 6 deletions
diff --git a/.babelrc.js b/.babelrc.js index b1b8d1573..51399697f 100644 --- a/.babelrc.js +++ b/.babelrc.js @@ -4,12 +4,9 @@ module.exports = { '@babel/preset-env', { loose: true, - modules: false, - exclude: ['transform-typeof-symbol'] + bugfixes: true, + modules: false } ] - ], - plugins: [ - '@babel/plugin-proposal-object-rest-spread' ] }; diff --git a/package.json b/package.json index 3cce53ddf..29577f3e0 100644 --- a/package.json +++ b/package.json @@ -94,7 +94,6 @@ "devDependencies": { "@babel/cli": "^7.10.3", "@babel/core": "^7.10.3", - "@babel/plugin-proposal-object-rest-spread": "^7.10.3", "@babel/preset-env": "^7.10.3", "@rollup/plugin-babel": "^5.0.4", "@rollup/plugin-commonjs": "^13.0.0", |
