Skip to content

'devServer' webpack.config option of Storybook does not correspond to the webpack's version #2082

Closed

Description

Hello:

I have tried to use Storybook on the project I'm currently working on and found an issue that the components does not look complete. I have spent some time and found out that it is because the code specified in the setup option of devServer option of webpack.config is not executed.

I have googled and found out that the devServer option that we specify for Storybook ends up as devMiddlewareOptions (#723). So, as I understand, we cannot specify the setup option.

So I would like to say that perhaps it would be better to rename it back to devMiddlewareOptions and somehow specify it in the docs that it is devMiddlewareOptions, not devServer option to possibly safe people's time and avoid possible confusion in the future.

Thank you

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions