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
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
setupoption ofdevServeroption ofwebpack.configis not executed.I have googled and found out that the
devServeroption that we specify for Storybook ends up asdevMiddlewareOptions(#723). So, as I understand, we cannot specify thesetupoption.So I would like to say that perhaps it would be better to rename it back to
devMiddlewareOptionsand somehow specify it in the docs that it isdevMiddlewareOptions, notdevServeroption to possibly safe people's time and avoid possible confusion in the future.Thank you