Images in theme app extension break after upgrading to Shopify CLI v3.87.0

I have reproduced the issue on the latest CLI version.

Yes, I am on the latest version

I have searched existing posts and this report is not a duplicate.

Yes, this isn’t a duplicate

In which of these areas are you experiencing a problem?

App
Extension
Function
Other

Expected behavior

All JPG images in the theme app extension should load and display correctly after deployment using the latest Shopify CLI version.

Actual behavior

After upgrading to Shopify CLI v3.87.0 and deploying:
• All JPG images in the theme app extension appear broken.
• The images still exist (not a 404 error), but their responses are corrupted or invalid.
• Downgrading to v3.86.1 and redeploying fixes the issue immediately.

Reproduction steps

  1. Have a Shopify theme app extension containing JPG image assets.

  2. Upgrade the Shopify CLI to version 3.87.0.

  3. Deploy the extension using this version.

  4. Check the deployed images links — all JPG images will appear broken.

  5. Downgrade to version 3.86.1 and redeploy — the images will load correctly again.

Operating system

Mac OS

CLI version

3.87.0

I can confirm we are seeing the same issue.

It also occurs when running shopify app dev and viewing the theme app extension in the preview store.

Thanks for the report @Anton. Recategorizing to get :eyes: on this as a theme extension issue.

Thank you both for the report. We’ve got a PR open to fix it and will be sending out a patch for v3.87.x soon.

1 Like

Hey folks, v3.87.3 of the CLI has been released that has a fix for this:

npm install -g @shopify/cli@3.87.3

1 Like

I can confirm that the fix resolves the issue for us.

@Gray-Shopify Thanks a lot for the quick turnaround!