Skip to content

Commit

Permalink
Re-add minimize
Browse files Browse the repository at this point in the history
  • Loading branch information
victortrinh2 committed Nov 19, 2024
1 parent 5ed1ff0 commit 2c82287
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
};
Expand Down

0 comments on commit 2c82287

Please sign in to comment.