Skip to content

Document the 32 MB app bundle size limit - #305

Draft
ryanmurakami wants to merge 1 commit into
mainfrom
bundle-size-limit
Draft

ryanmurakami wants to merge 1 commit into
mainfrom
bundle-size-limit

Conversation

@ryanmurakami

Copy link
Copy Markdown
Contributor

Summary

Documents the new 32 MB maximum app bundle size. Devvit can't load app bundles larger than 32 MB, so devvit upload, devvit playtest, and devvit publish now reject them, and the error lists the bundle's largest parts.

Changes, made in both docs/ and versioned_docs/version-0.15/ as the README requires:

  • Devvit Web overview → Limitations: adds an "App bundle size" row to the limitations table and "Max app bundle size: 32MB" to the technical requirements list. Adds an "App bundle size" section that explains what counts toward the limit (compiled server code and source maps, not client assets) and how to shrink a bundle. The tips match the CLI error message.
  • FAQ → "What are the main storage, payload, and rate limits?": adds the bundle limit, linking to the new section.

Before merging

  • Merge timing: don't merge until the Developer Portal enforcement is deployed, so the docs don't describe a limit that isn't live yet.
  • Changelog: no entry here. It should go in the notes for the release that ships the CLI-side check.

Testing

  • yarn build succeeds.
  • The new #app-bundle-size heading is generated on the current and next overview pages, and the FAQ link resolves to it.

Built with Snoocode

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant