From 9950c1e41886f31beffd3ef94d4454f9d1d975e2 Mon Sep 17 00:00:00 2001 From: Carlos Frias Date: Mon, 16 Dec 2024 14:42:22 -0300 Subject: [PATCH] chore: restore support for custom docs Solves https://github.com/wwnorton/design-system/pull/366 Co-authored-by: Evan Yamanishi --- .storybook/main.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.storybook/main.ts b/.storybook/main.ts index 1c25d26e..8da73214 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -16,7 +16,10 @@ const config: StorybookConfig = { }, }, - stories: ["../packages/react/src/**/*.stories.{ts,tsx,mdx}"], + stories: [ + "../packages/react/src/**/*.mdx", + "../packages/react/src/**/*.stories.@(js|jsx|mjs|ts|tsx)", + ], addons: [ getAbsolutePath("@storybook/addon-essentials"),