I’ve got a admin extension running under
"@shopify/ui-extensions": "2025.1.x",
"@shopify/ui-extensions-react": "2025.1.x",
"country-state-city": "^3.2.1",
"react": "^18.0.0",
"react-reconciler": "0.29.0"
Which is being built into a compact JS script of size 728Kb and it is being deployed and running successfully within the target section.
Now I’m trying to rewrite it into preact + Polaris web components built under
"preact": "^10.27.1",
"@shopify/ui-extensions": "~2025.10.0-rc",
"country-state-city": "^3.2.1"
It has decreased the resulting JS file’s size to 634Kb, but when I’m trying to deploy it, I would see this error from shopify CLI:
╭─ error ────────────────────────────────────────────────────╮
│ │
│ Version couldn't be created. │
│ │
│ my-super-ui │
│ │
│ Validation errors │
│ • Script exceeds 64 KB limit │
│ │
╰────────────────────────────────────────────────────────────╯
I’m not sure if I had messed up my build configuration in the process of migrating to preact or is this just a new restriction only affecting version 2025-10. Or is this a bug on the deployment server’s side?
Could please someone help me interpret this odd situation.
Thanks!