Skip to content

Commit

Permalink
Merge pull request #15625 from storybookjs/fix/11442-adjust-warning
Browse files Browse the repository at this point in the history
Controls: Adjust no addon-docs warning message
  • Loading branch information
shilman committed Jul 19, 2021
2 parents cd688ce + 07f9e61 commit 2818cc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/controls/src/preset/ensureDocsBeforeControls.ts
Expand Up @@ -37,6 +37,7 @@ export const ensureDocsBeforeControls = (configDir: string) => {
if (!verifyDocsBeforeControls(main.addons)) {
logger.warn(dedent`
Expected '@storybook/addon-docs' to be listed before '@storybook/addon-controls' (or '@storybook/addon-essentials'). Check your main.js?
If addon-docs or addon-essentials is included by another addon/preset you can safely ignore this warning.
https://github.com/storybookjs/storybook/issues/11442
`);
Expand Down

0 comments on commit 2818cc8

Please sign in to comment.