From d1489a50389de3ffc7a1d7cfe984683b8a81950a Mon Sep 17 00:00:00 2001 From: victortrinh2 <132942359+victortrinh2@users.noreply.github.com> Date: Thu, 21 Nov 2024 16:54:27 -0500 Subject: [PATCH] Remove chunk generation (#196) --- .storybook/main.ts | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.storybook/main.ts b/.storybook/main.ts index 9dfb25b5e..f6b54fa6c 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -99,11 +99,14 @@ const storybookConfig: StorybookConfig = { minimize: false }; - config.performance = { - ...config.performance, - hints: false, - maxEntrypointSize: 512000, - maxAssetSize: 512000 + /** + * This block of code addresses build process issues for chromatic + * + * There were too many chunks generated by the build process, which caused the build to fail. + */ + config.output = { + ...config.output, + chunkFormat: false }; return config;