From 6e6422737a0461ababa6ace3fbc28cebbe350b37 Mon Sep 17 00:00:00 2001 From: Jamie Dixon Date: Thu, 19 Oct 2017 12:27:36 +0100 Subject: [PATCH] Fixes #24 --- packages/react-scripts/config/env.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react-scripts/config/env.js b/packages/react-scripts/config/env.js index fa42747f6a8..c92481e69fb 100644 --- a/packages/react-scripts/config/env.js +++ b/packages/react-scripts/config/env.js @@ -82,6 +82,7 @@ function getClientEnvironment(publicUrl) { // This should only be used as an escape hatch. Normally you would put // images into the `src` and `import` them in code to get their paths. PUBLIC_URL: publicUrl, + PLATFORM: 'web', } ); // Stringify all values so we can feed into Webpack DefinePlugin