Skip to content

Commit

Permalink
1052-resolve-output-path
Browse files Browse the repository at this point in the history
Fixes storybookjs#1052

I've tested this locally and it resolves the issue I encountered.
  • Loading branch information
ajhyndman authored May 18, 2017
1 parent bf7db99 commit 03c3bab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/react/src/server/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 03c3bab

Please sign in to comment.