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) {