kit icon indicating copy to clipboard operation
kit copied to clipboard

@sveltejs/adapter-cloudflare ignores ssr = false and prerender = false

Open josetr opened this issue 1 year ago • 0 comments

Describe the bug

The generated _worker.js file still contains all of the client only pages and it's dependencies, which is a problem since Cloudflare limits the worker's size to 1MB (free) or 10MB (paid)

Reproduction

https://github.com/josetr/sveltekit-cloudflare-adapter-issue/commit/8b74f44f7f3dd7fb0d9c3527053ef07176e2c249

Logs

No response

System Info

Windows 11

Severity

annoyance

Additional Information

No response

josetr avatar Aug 15 '24 07:08 josetr