From 648fb7741a91dea0d7de09e7bac0206366ccc202 Mon Sep 17 00:00:00 2001 From: Krzysztof Sakwerda Date: Thu, 14 Nov 2024 11:36:48 +0100 Subject: [PATCH] fix: serve the fonts --- .storybook/main.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.storybook/main.ts b/.storybook/main.ts index 3dc5ace3c..6418d5129 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -25,6 +25,12 @@ const config: StorybookConfig = { typescript: { reactDocgen: 'react-docgen-typescript', }, + staticDirs: [ + { + from: '../src/assets', + to: 'assets', + }, + ], webpackFinal: async (webpack) => { webpack.resolve = webpack.resolve || {}; webpack.resolve.plugins = webpack.resolve.plugins || [];