kit
kit copied to clipboard
web development, streamlined
### Describe the bug `adapter-vercel` creates symlinks for routes with `config.isr`, but _also_ creates symlinks for their subsidiary `__data.json` routes (both symlinks point at the same underlying route), which ensures...
Closes #12477 Added ~~serverProtectedPaths~~ serverOnlyPaths to add additional rules to prevent import into client code --- ### Please don't delete this checklist! Before submitting the PR, please make sure you...
### Describe the bug > I came across an issue on Discord where someone tried using dynamic import() to load a component and pass it to data in the universal...
closes https://github.com/sveltejs/kit/issues/10477 ### Please don't delete this checklist! Before submitting the PR, please make sure you do the following: - [x] It's really useful if your PR references an issue...
Closes #11697 Add a prerender option `handleNotPrerenderedRoutes` to be able to configure the error reporting when routes were marked as prerenderable, but were not prerendered. --- ### Please don't delete...
### Describe the problem Currently used `vite.ssrLoadModule()` doesn't support the [HMR API](https://vitejs.dev/guide/api-hmr.html) fully. Vite doesn't call `hot.dispose`/`hot.accept` functions for invalidated modules, thus making server-side long-living tasks (i.e. `setInterval()` or event...
### Describe the bug After upgrading to SvelteKit 2.21.5 from SvelteKit 2.21.2, I am starting to get `ReferenceError: require is not defined in ES module scope` whenever I import a...
Gives routes an AbortSignal ([as present in the Request object](https://developer.mozilla.org/en-US/docs/Web/API/Request/signal)) to know when the other end hangs up prematurely. Fixes #12823 for `vite dev+preview`, `@sveltejs/adapter-node`, and `@sveltejs/adapter-vercel` --- ### Please...
### Describe the bug Let's get it passing on the ecosystem CI Here are some blockers for us: - [ ] treeshaking/dead code removal in rolldown is not on the...
closes https://github.com/sveltejs/kit/issues/13738 This PR: - upgrades vite-plugin-svelte to the v6 pre-release - makes the Vite config changes to support both https://github.com/vitejs/rolldown-vite and the current Vite release with Rollup. - drops...