kit
kit copied to clipboard
@sveltejs/adapter-cloudflare ignores ssr = false and prerender = false
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