Skip to content

Commit

Permalink
Filter out docs from essentials as well
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperpeulen committed Nov 27, 2023
1 parent f883290 commit cc288d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/lib/core-server/src/presets/common-override-preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ export const docs: PresetProperty<'docs', StorybookConfig> = async (input, optio

const createTestBuildFeatures = (value: boolean): Required<TestBuildFlags> => ({
disableBlocks: value,
disabledAddons: value ? ['@storybook/addon-docs', '@storybook/addon-coverage'] : [],
disabledAddons: value
? ['@storybook/addon-docs', '@storybook/addon-essentials/docs', '@storybook/addon-coverage']
: [],
disableMDXEntries: value,
disableAutoDocs: value,
disableDocgen: value,
Expand Down

0 comments on commit cc288d0

Please sign in to comment.