Skip to content

Commit

Permalink
fix(storybook): disable storysource addon due to build issue bug from…
Browse files Browse the repository at this point in the history
… 8.2
  • Loading branch information
MFarabi619 committed Jul 14, 2024
1 parent edec945 commit a1a5c04
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,21 @@ const config: StorybookConfig = {

// '@chromatic-com/storybook',
// Code for component story
{
name: '@storybook/addon-storysource',
options: {
rule: {
test: [/\.stories\.tsx?$/],
include: [path.resolve(__dirname, '../src')], // You can specify directories
},
loaderOptions: {
parser: 'typescript',
injectStoryParameters: false,
prettierConfig: { printWidth: 80, singleQuote: false },
},
enforce: 'pre',
},
},
// {
// name: '@storybook/addon-storysource',
// options: {
// rule: {
// test: [/\.stories\.tsx?$/],
// include: [path.resolve(__dirname, '../src')], // You can specify directories
// },
// loaderOptions: {
// parser: 'typescript',
// injectStoryParameters: false,
// prettierConfig: { printWidth: 80, singleQuote: false },
// },
// enforce: 'pre',
// },
// },
'@storybook/addon-links',

// --------------- No-icons ---------------
Expand Down

0 comments on commit a1a5c04

Please sign in to comment.