Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2020-06-25 18:38:39 +0300
committerXhmikosR <xhmikosr@gmail.com>2020-07-06 16:40:27 +0300
commitad8d3a6c541b92ddba298113493083bac26d5ff3 (patch)
treed59ed17dd0888fb57c233ff26e8113713334436d
parent9a6cfeb36e57f73d21b33926039f9ffb2fb5c465 (diff)
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.js7
-rw-r--r--package.json1
2 files changed, 2 insertions, 6 deletions
diff --git a/.babelrc.js b/.babelrc.js
index b17738f866..1d6404edbe 100644
--- a/.babelrc.js
+++ b/.babelrc.js
@@ -4,14 +4,11 @@ module.exports = {
'@babel/preset-env',
{
loose: true,
- modules: false,
- exclude: ['transform-typeof-symbol']
+ bugfixes: true,
+ modules: false
}
]
],
- plugins: [
- '@babel/plugin-proposal-object-rest-spread'
- ],
env: {
test: {
plugins: [ 'istanbul' ]
diff --git a/package.json b/package.json
index a2fbae44a1..1be585bf71 100644
--- a/package.json
+++ b/package.json
@@ -111,7 +111,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",