-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
Right now Styleguidist uses console.log to show some potentially useful messages like:
No webpack config found. You may need to specify "webpackConfig" option in your style guide config:
https://github.com/styleguidist/react-styleguidist/blob/master/docs/Webpack.md
We should do it only when Styleguidist is started from CLI, not from the API (or tests). Would be nice to be able to customize the logging somehow — I don’t really know what would be the right approach — maybe pass a logging function everywhere or something like that.