From 7dad9fe8161cab48a3674921eaf05dafb4855370 Mon Sep 17 00:00:00 2001 From: pengx17 Date: Thu, 5 Dec 2024 05:35:00 +0000 Subject: [PATCH] fix(component): workaround for storybook startup (#9025) 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) --- packages/frontend/component/.storybook/main.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/frontend/component/.storybook/main.ts b/packages/frontend/component/.storybook/main.ts index 4ba1028d4d..ac46638d1d 100644 --- a/packages/frontend/component/.storybook/main.ts +++ b/packages/frontend/component/.storybook/main.ts @@ -70,9 +70,9 @@ export default { }); }, - typescript: { - reactDocgen: 'react-docgen-typescript', - }, + // typescript: { + // reactDocgen: 'react-docgen-typescript', + // }, } satisfies StorybookConfig; function getAbsolutePath(value: string): any {