Browse Source

chore: enable babel loose mode

the only affected transforms/plugins for our browserlist:
* object-rest-spread will use Object.assign
* nullish-coalescing-operator will use == with null
tophf 6 years ago
parent
commit
bf87eb6632
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .babelrc.js

+ 1 - 0
.babelrc.js

@@ -6,6 +6,7 @@ module.exports = {
         modules: false,
       },
       useBuiltIns: false,
+      loose: true,
     }],
   ],
   plugins: [