diff --git a/packages/nimble-components/.storybook/main.js b/packages/nimble-components/.storybook/main.js index f1df0cdde4..59cdfe2581 100644 --- a/packages/nimble-components/.storybook/main.js +++ b/packages/nimble-components/.storybook/main.js @@ -27,7 +27,7 @@ export const addons = [ getAbsolutePath('@storybook/addon-a11y'), getAbsolutePath('@storybook/addon-interactions'), getAbsolutePath('@chromatic-com/storybook'), - '@storybook/addon-webpack5-compiler-swc' + getAbsolutePath('@storybook/addon-webpack5-compiler-swc') ]; export function webpackFinal(config) { config.module.rules.push({ diff --git a/packages/nimble-components/.storybook/manager.js b/packages/nimble-components/.storybook/manager.js index 7011358372..1159c9cc0c 100644 --- a/packages/nimble-components/.storybook/manager.js +++ b/packages/nimble-components/.storybook/manager.js @@ -9,7 +9,7 @@ addons.setConfig({ const isPublicSite = window.location.hostname === 'nimble.ni.dev'; const isItemInternal = item.title.startsWith('Tests/') || item.title.startsWith('Internal/') - || item.title.startsWith('patterns/'); + || item.title.startsWith('Patterns/'); const shouldHideInSidebar = isPublicSite && isItemInternal; return !shouldHideInSidebar; }