We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Just FYI for people having the same question - if you would like to suppress webpack output, try this:
// On your custom webpack config module.exports = { ... devServer: { stats: 'errors-only' } ... }
This works because react-storybook uses webpack dev middleware, which supports the above option. See: webpack/webpack#1191 (comment)
react-storybook
The text was updated successfully, but these errors were encountered:
this isn't working for me.
I tried all of
devServer: { stats: 'none' | 'errors-only' | { chunks: false } }
in my webpack config
every time I restart the storybook, nothing happens -
SO I solved it by editing the ./node_modules/@kadira/storybook/dist/server/middleware.js
with
var devMiddlewareOptions = { noInfo: true, stats: 'errors-only', publicPath: config.output.publicPath, watchOptions: config.watchOptions || {} };
wherein I saw the problem.
The devMiddleware was not using any of the custom config!
however, I don't like this solution.
Sorry, something went wrong.
No branches or pull requests
Just FYI for people having the same question - if you would like to suppress webpack output, try this:
This works because
react-storybook
uses webpack dev middleware, which supports the above option. See: webpack/webpack#1191 (comment)Before
After
The text was updated successfully, but these errors were encountered: