Skip to content

[6.x] Disable reportCompressedSize in Storybook build#14468

Merged
jasonvarga merged 1 commit into6.xfrom
troubleshoot-storybook-build
Apr 9, 2026
Merged

[6.x] Disable reportCompressedSize in Storybook build#14468
jasonvarga merged 1 commit into6.xfrom
troubleshoot-storybook-build

Conversation

@jasonvarga
Copy link
Copy Markdown
Member

Summary

  • Disables reportCompressedSize in the Storybook Vite config to reduce memory usage during production builds.

After the Vite 8 upgrade, the Storybook docs build was getting killed by the OOM killer on the deploy server (3.8GB RAM) during the "computing gzip size" phase. This option only controls whether gzip sizes are printed in the build log — it has no effect on the output files.

Test plan

  • Verify Storybook docs build completes on the deploy server
  • Verify local npm run build-storybook-docs still works

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jasonvarga jasonvarga merged commit 7d36582 into 6.x Apr 9, 2026
18 checks passed
@jasonvarga jasonvarga deleted the troubleshoot-storybook-build branch April 9, 2026 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant