From: Carl Worth Date: Mon, 15 Jun 2020 00:11:09 +0000 (-0700) Subject: Babel: Add the transform-object-rest-spread plugin to the production build X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=commitdiff_plain;h=0f1897e5584ef30af02e906b38bc9f6723cc9d57 Babel: Add the transform-object-rest-spread plugin to the production build This should have been added at the same time this was added to the development build. Without it, a production build fails. --- diff --git a/.babelrc b/.babelrc index b9db511..48b7809 100644 --- a/.babelrc +++ b/.babelrc @@ -2,6 +2,9 @@ "presets": ["react"], "env": { "production": { + "plugins": [ + "transform-object-rest-spread" + ] }, "development": { "plugins": [