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

When building a storybook, the path to the bundle file needs to be a relative path #1655

Closed
janryWang opened this issue Aug 14, 2017 · 5 comments

Comments

@janryWang
Copy link

<body>
        <div id="root"></div>
        <div id="error-display"></div>
        <script src="static/preview.af41a03ad99ef87ff699.bundle.js"></script>
      </body>

====>

<body>
        <div id="root"></div>
        <div id="error-display"></div>
        <script src="./static/preview.af41a03ad99ef87ff699.bundle.js"></script>
      </body>

@Hypnosphi
Copy link
Member

But it is relative, it has no leading slash

@janryWang
Copy link
Author

Can I customize the configuration? Because my current site hopes storybook and other content coexist. @Hypnosphi

@Hypnosphi
Copy link
Member

I still don't really understand the problem, but I think it's customizable via webpack config

@stale
Copy link

stale bot commented Nov 2, 2017

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. We do try to do some housekeeping every once in a while so inactive issues will get closed after 90 days. Thanks!

@stale stale bot added the inactive label Nov 2, 2017
@stale
Copy link

stale bot commented Nov 17, 2017

Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants