From dc0af6665d378903e7d467ceef053b69390b63aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kry=C5=A1tof=20Korb?= Date: Tue, 23 Jul 2024 20:59:14 +0200 Subject: [PATCH] Try to fix Storybook build --- apps/design-system/.storybook/preview.ts | 2 +- packages/design-system/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/design-system/.storybook/preview.ts b/apps/design-system/.storybook/preview.ts index e5edef0..3d62859 100644 --- a/apps/design-system/.storybook/preview.ts +++ b/apps/design-system/.storybook/preview.ts @@ -1,6 +1,6 @@ import type { Preview } from "@storybook/react"; -import "@repo/design-system/styles.css"; +import "@repo/design-system/styles"; const preview: Preview = { parameters: { diff --git a/packages/design-system/package.json b/packages/design-system/package.json index 81afad3..b23bcf2 100644 --- a/packages/design-system/package.json +++ b/packages/design-system/package.json @@ -4,7 +4,7 @@ "private": true, "exports": { "./fonts": "./dist/fonts", - "./styles.css": "./dist/index.css", + "./styles": "./dist/index.css", "./button": "./src/button.tsx", "./card": "./src/card.tsx", "./code": "./src/code.tsx",