]> cat aescling's git repositories - mastodon.git/commitdiff
Enable useBuiltIns option of transform-object-rest-spread (#3737)
authorYamagishi Kazutoshi <ykzts@desire.sh>
Wed, 14 Jun 2017 11:42:00 +0000 (20:42 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 14 Jun 2017 11:42:00 +0000 (13:42 +0200)
.babelrc

index 139b5b71155aa97d139010df87478d8b1079a74e..081c4f963c24a4fd6a688af21b7396a4dd8695f2 100644 (file)
--- a/.babelrc
+++ b/.babelrc
@@ -14,7 +14,7 @@
   ],
   "plugins": [
     "syntax-dynamic-import",
-    "transform-object-rest-spread",
+    ["transform-object-rest-spread", { "useBuiltIns": true }],
     "transform-class-properties",
     [
       "react-intl",