Shopify UI extension / release preflight

Know what Shopify will question before you deploy.

Read a Shopify CLI metafile in your browser. Check the 64 KB or 128 KB rule, find avoidable weight, compare builds, and export an exception-ready evidence pack.

Files stay in this tab Paths sanitized on export
PRE-FLIGHT / checkout-uiLOCAL
STATUSOPTIMIZE71.4 KB / 64 KB
POLICY LIMIT
+7.4 KB over
MODULE CONTRIBUTIONBYTESSHARE
react-dom/client.js18.7 KB31.2%
src/checkout-rules.ts11.4 KB19.1%
locales/de.json7.8 KB13.0%
axios/index.js6.9 KB11.5%
01
React runtime detectedReplace with Preact + Remote DOM runtime
HIGH
ILLUSTRATIVE SAMPLE · NO APPROVAL GUARANTEE
64 KB / checkout · customer account · admin · POS128 KB / full-page customer accountCLI 3.92+ metafileVerified 2026-09-22
One file in, a release decision out

A policy compiler, not another treemap.

Generic analyzers show the bundle. This one translates it into the next deploy decision, with official reasoning attached.

01

Read locally

Drop the `.metafile.json` generated by Shopify CLI 3.92+. Add the minified JavaScript bundle for a local gzip measurement.

02

Apply the right limit

Select the extension surface and API. Full-page customer account gets 128 KB; other covered surfaces use 64 KB.

03

Remove avoidable weight

Trace heavy runtimes, duplicate versions, bundled translations, static data, and platform primitives you can use instead.

04

Carry the evidence

Compare before and after. Export a sanitized HTML, PDF, or JSON report plus an exception checklist.

Four outcomes, deliberately strict

PASS is not the same as “probably fine.”

Estimated compression near a limit stays in OPTIMIZE until a real minified bundle is measured. EXCEPTION-READY appears only when measured size is over the rule and automated avoidable-weight blockers are clear.

Read the method and boundaries →
PASSUnder rule with adequate confidence
OPTIMIZENear / over limit or avoidable weight remains
EXCEPTION-READYMeasured overage with no automated blocker
INVALID INPUTNot a usable esbuild metafile
No sign-up. No upload.

Your bundle has a budget.
Make every byte explain itself.

Run local preflight