Babel: Add the transform-object-rest-spread plugin to the production build
[lmno.games] / .babelrc
index b9db511f14d44141aaab814b7b2b6b72feeea229..48b7809b36d01a97e71148583c523b50145e7ead 100644 (file)
--- a/.babelrc
+++ b/.babelrc
@@ -2,6 +2,9 @@
   "presets": ["react"],
   "env": {
     "production": {
+      "plugins": [
+        "transform-object-rest-spread"
+      ]
     },
     "development": {
       "plugins": [