Rich Harris
Rich Harris
### Describe the bug When building a project with `adapter-node`, we end up with duplicated code. That's because we take the Vite output (which bundles `@sveltejs/kit` code) and point the...
closes #9802. Any requests to `/_app/*` (other than `/_app/env.js`) that make it to the SvelteKit server (i.e. they're not already handled by a static webserver) immediately result in a plaintext...
https://github.com/sveltejs/kit/pull/10454#issuecomment-1885678689. ~~haven't actually tested this yet~~ tested, it works --- ### Please don't delete this checklist! Before submitting the PR, please make sure you do the following: - [x] It's...
### Describe the problem From #11381 — it's unlikely but conceivable that someone would want to set a body size limit of zero. More to the point, it's arguably a...
[Demo](https://svelte-5-preview-git-stack-trace-based-readonly-svelte.vercel.app/#H4sIAAAAAAAAE42Q3WrDMAyFX0WYQVMWku02iwNjj9HuInEd8OY_bKVQjN-9dmL2Q8e2K1vi6NM5CmQWknvSHQLRo-KkI8_WkprgxebCn7lEnmpvFsdyp_fMCYvDUR9RKGscwotZNHIHszMKdk1b6mYb3j0laRJLjmCmN84QKNx5HJFXAVjWdvAAcZ90fftJ133h5OFtkIbtjWtLMynYOw3VHuhQ0M3Kg3sKj0nUDpCsK3MSs-An0qFbeKw_khb-f9PmAKHsqaGsh5jTWGesr24TTAsmn_Cn1ZWvlnwTkIaNUl46CF91MaM33M_o8vmGOosRMmwak9Hs8Rfo7aFe4xUrGbMlHgIAAA==) I'm pretty sure I'll look at this in the morning with abject horror, but I thought the idea was at least interesting enough to share even if this PR...
I think it's fine to `export` state/derived/props from components, which means reverting #10430. Note that `export let` is still forbidden in runes mode, since it's _much_ more likely to be...
### Describe the bug Given code like this... ```svelte let object = $state({ count: 0 }); function increment() { object.count++; } clicks: {object.count} ``` ...we generate this output: ```js function...
we need to initialise shortcuts to things like `Node.prototype` lazily so that we don't try and access things that don't exist outside of the browser, but that's not a concern...
### Describe the bug Given code like this... ```svelte let w = 0; let h = 0; let div; $: { console.log(!!div, w, h); } .box { width: 100px; height:...
just a failing test for now ### Before submitting the PR, please make sure you do the following - [ ] It's really useful if your PR references an issue...