]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update Babel config (#31011)
authorXhmikosR <xhmikosr@gmail.com>
Thu, 25 Jun 2020 15:38:39 +0000 (18:38 +0300)
committerXhmikosR <xhmikosr@gmail.com>
Mon, 6 Jul 2020 13:40:27 +0000 (16:40 +0300)
* remove plugin-proposal-object-rest-spread
* add bugfixes
* `exclude: ['transform-typeof-symbol']` did nothing with our config

.babelrc.js
package.json

index b17738f866f05ff1a9cbc7a273af98e75f58f692..1d6404edbe5f3ce9ff9b3046898dd98310e61d8e 100644 (file)
@@ -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' ]
index a2fbae44a17d47049bdd7401b071b7552eb91626..1be585bf710319e9f908a3715a12d0870a535c00 100644 (file)
   "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",