$ the-wire · showcase
Shopify CLI Realigns Extension Size Checks with Brotli
By RepoJournal · Filed · About Shopify · Composed from the cited sources · methodology
The Shopify CLI's local size estimates no longer match what the platform actually enforces, and this update fixes that gap.
The CLI now reports bundle sizes using Brotli compression at quality 11, aligning local estimates with the platform's 64 KB limit for remote-DOM extensions and ending the mismatch from the previous deflate-based approach [1]. Alongside that, the CLI supports the `bundle_size_exception` capability, so apps granted an exception by Shopify can actually have it take effect instead of being silently stripped from the extension config [2]. Both changes come from Igor Kozlov, who also landed the merge that ties the capability into the schema [3]. Elsewhere, the `shopify store create dev` help text no longer mislabels a development store as an "app development store" and now reads "Creates a new development store in your organization" [4][5]. The period's 3 commits and 3 PRs all focus on tightening the extension size workflow and correcting developer-facing messaging.
Action items
References
- [1] Report extension compressed bundle size using Brotli ↗ Shopify/cli
- [2] Support the bundle_size_exception capability ↗ Shopify/cli
- [3] Merge pull request #8335 from Shopify/i10k/extension_size_exception_scopes ↗ Shopify/cli
- [4] Merge pull request #8396 from Shopify/donald/remove-app-dev-store-description ↗ Shopify/cli
- [5] Fix development store command help text ↗ Shopify/cli