From 0f1897e5584ef30af02e906b38bc9f6723cc9d57 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Sun, 14 Jun 2020 17:11:09 -0700 Subject: [PATCH 1/1] 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. --- .babelrc | 3 +++ 1 file changed, 3 insertions(+) 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": [ -- 2.43.0