Skip to content

Commit

Permalink
chore(blade): prevent internal story removal on prod (#541)
Browse files Browse the repository at this point in the history
  • Loading branch information
anuraghazra authored Jul 20, 2022
1 parent 576793f commit 5306cb4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions packages/blade/.storybook/react/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 5306cb4

Please sign in to comment.