Skip to content

Commit

Permalink
Exclude storybook from build
Browse files Browse the repository at this point in the history
  • Loading branch information
jsimck committed Apr 12, 2024
1 parent 79e8279 commit cdb1172
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/ui-informed/.storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { type Preview } from '@storybook/react';
import type { Preview } from '@storybook/react';
import './preview.css';

const preview: Preview = {
Expand Down
1 change: 1 addition & 0 deletions packages/ui-informed/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"declarationDir": "dist",
},
"exclude": [
"./.storybook/**/*",
"**/__tests__/*",
]
}
2 changes: 1 addition & 1 deletion packages/ui/.storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { type Preview } from '@storybook/react';
import type { Preview } from '@storybook/react';
import './preview.css';

const preview: Preview = {
Expand Down
1 change: 1 addition & 0 deletions packages/ui/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"declarationDir": "dist",
},
"exclude": [
"./.storybook/**/*",
"**/__tests__/*",
]
}

0 comments on commit cdb1172

Please sign in to comment.