Skip to content

Commit

Permalink
fix(component): workaround for storybook startup (toeverything#9025)
Browse files Browse the repository at this point in the history
It seems starting up storybook throws error when parsing doc using typescript.
Temporarily remove reactDocgen for now.
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/db54c528-2b37-4a91-b980-4fe6c07240b7.png)
  • Loading branch information
pengx17 committed Dec 5, 2024
1 parent 1cba9a7 commit 7dad9fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/frontend/component/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ export default {
});
},

typescript: {
reactDocgen: 'react-docgen-typescript',
},
// typescript: {
// reactDocgen: 'react-docgen-typescript',
// },
} satisfies StorybookConfig;

function getAbsolutePath(value: string): any {
Expand Down

0 comments on commit 7dad9fe

Please sign in to comment.