Skip to content

Commit

Permalink
Remove chunk generation (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
victortrinh2 authored Nov 21, 2024
1 parent 960c0fa commit d1489a5
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d1489a5

Please sign in to comment.