cloudflare / cloudflare/workers-sdk

Wrangler assets doen't support HTTP 1.1 byte serving, but Vite-plugin does creating prod & dev mismatch

Open
#8,967 0 comments 0 reactions 0 assignees View on GitHub
feature:workers-assets package:vite-plugin
Dominant language
TypeScript
Stars
4.5k
Forks
1.5k
Avg merge
3d 8h
Merged PRs (30d)
186

Description

### Which Cloudflare product(s) does this pertain to?

Wrangler

### What versions & operating system are you using?

wrangler 4.10.0, @cloudflare/vite-plugin 1.0.5, nodejs 22.14.0

### Please provide a link to a minimal reproduction

_No response_

### Describe the Bug

When previewing a worker locally using the vite plugin HTTP 1.1 byte serving works as expected, when using `wrangler dev` or `wrangler deploy` version it doesn't creating a mismatch between dev & prod if using the vite plugin.

Would be nice if wrangler assets supported Accept-Ranges header.

### Please provide any relevant error logs

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.