Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: build-storybook no longer supports relative paths #1058

Merged
merged 1 commit into from
May 18, 2017

Conversation

ajhyndman
Copy link
Contributor

@ajhyndman ajhyndman commented May 18, 2017

Issue:
Fixes #1052

I've tested this locally and it resolves the issue I described above.

What I did

Resolve the output path passed in CLI config to an absolute path before handing it to Webpack.

How to test

When using @storybook/react@3.0.0-alpha.0 in a project, run:

build-storybook -o ./relative/path

Fixes storybookjs#1052

I've tested this locally and it resolves the issue I encountered.
@ndelangen
Copy link
Member

@ajhyndman Thank you so much for helping us out! 👏

@ndelangen ndelangen merged commit e5d3d63 into storybookjs:master May 18, 2017
@ajhyndman
Copy link
Contributor Author

That was quick! Thanks for being so responsive!

@ajhyndman ajhyndman deleted the patch-2 branch May 18, 2017 13:59
@shilman shilman added the misc label May 27, 2017
@ndelangen ndelangen added the bug label May 27, 2017
@ndelangen ndelangen changed the title 1052-resolve-output-path Fix: build-storybook no longer supports relative paths May 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants