From 5306cb45a02a6635a063c261e12586b700fcb7b2 Mon Sep 17 00:00:00 2001 From: Anurag Hazra Date: Wed, 20 Jul 2022 18:09:24 +0530 Subject: [PATCH] chore(blade): prevent internal story removal on prod (#541) --- packages/blade/.storybook/react/main.js | 5 ++--- .../src/components/Typography/BaseText/BaseText.stories.tsx | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/blade/.storybook/react/main.js b/packages/blade/.storybook/react/main.js index 46a96ce1c34..90590da7b72 100644 --- a/packages/blade/.storybook/react/main.js +++ b/packages/blade/.storybook/react/main.js @@ -7,9 +7,8 @@ module.exports = { '../../docs/**/*.stories.@(ts|tsx|js|jsx)', '../../src/**/*.stories.mdx', '../../src/**/*.stories.@(ts|tsx|js|jsx)', - ...(process.env.NODE_ENV == 'development' - ? ['../../src/**/*.stories.internal.mdx', '../../src/**/*.stories.internal.@(ts|tsx|js|jsx)'] - : []), + '../../src/**/*.stories.internal.mdx', + '../../src/**/*.stories.internal.@(ts|tsx|js|jsx)', ], addons: [ '@storybook/addon-links', diff --git a/packages/blade/src/components/Typography/BaseText/BaseText.stories.tsx b/packages/blade/src/components/Typography/BaseText/BaseText.stories.tsx index fddbd0ec12c..be96c78b2ca 100644 --- a/packages/blade/src/components/Typography/BaseText/BaseText.stories.tsx +++ b/packages/blade/src/components/Typography/BaseText/BaseText.stories.tsx @@ -5,7 +5,7 @@ import type { BaseTextProps } from './BaseText'; import BaseTextComponent from './BaseText'; export default { - title: 'Components/Typography/BaseText', + title: 'Components/Typography/BaseText (Internal)', component: BaseTextComponent, args: { color: 'surface.text.normal.lowContrast',