mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 18:21:08 +08:00
Merge pull request #1058 from ajhyndman/patch-2
1052-resolve-output-path
This commit is contained in:
commit
e5d3d63ef3
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user