From cda6dcf05b83ee5b766d6dd5f38f46e2fae439cc Mon Sep 17 00:00:00 2001 From: blushi Date: Tue, 16 Jul 2024 12:26:19 +0200 Subject: [PATCH] fix: vite config --- web-storybook/.storybook/main.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web-storybook/.storybook/main.js b/web-storybook/.storybook/main.js index 0f19c06a01..0fb8bd9f1a 100644 --- a/web-storybook/.storybook/main.js +++ b/web-storybook/.storybook/main.js @@ -74,6 +74,12 @@ module.exports = { }), ], optimizeDeps: { + // https://github.com/mui/material-ui/issues/32727#issuecomment-1697253782 + include: [ + '@mui/material/Tooltip', + '@emotion/styled', + '@mui/material/Unstable_Grid2', + ], esbuildOptions: { plugins: configType === 'DEVELOPMENT'