From 03c3babe607036aecc92cb64148407f75d05c92a Mon Sep 17 00:00:00 2001 From: Andrew Hyndman Date: Thu, 18 May 2017 22:58:27 +1000 Subject: [PATCH] 1052-resolve-output-path Fixes #1052 I've tested this locally and it resolves the issue I encountered. --- app/react/src/server/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/react/src/server/build.js b/app/react/src/server/build.js index d63279f5449a..ecd577025527 100644 --- a/app/react/src/server/build.js +++ b/app/react/src/server/build.js @@ -60,7 +60,7 @@ shelljs.cp(path.resolve(__dirname, 'public/favicon.ico'), outputDir); // custom `.babelrc` file and `webpack.config.js` files // NOTE changes to env should be done before calling `getBaseConfig` const config = loadConfig('PRODUCTION', getBaseConfig(), configDir); -config.output.path = outputDir; +config.output.path = path.resolve(outputDir); // copy all static files if (program.staticDir) {