From 2c8228790a88d05e14d211227ac566241267d47a Mon Sep 17 00:00:00 2001 From: Victor Trinh Date: Tue, 19 Nov 2024 15:46:57 -0500 Subject: [PATCH] Re-add minimize --- .storybook/main.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.storybook/main.ts b/.storybook/main.ts index 63d126095..389746dbe 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -87,6 +87,15 @@ const storybookConfig: StorybookConfig = { ] }; + /** + * This block of code addresses build process issues. + * + * Minimize the bundle size to prevent Netlify from hanging at the "Sealing asset processing TerserPlugin" step. + */ + config.optimization = { + minimize: false + }; + return config; } };