kit
kit copied to clipboard
web development, streamlined
### Describe the problem In the previous version of Sveltekit, the default location for hooks was `src/hooks` but after some time when it was divided into both client and server...
### Describe the problem There's an amazing, brand new feature whereby GET forms can now be progressively enhanced, which means we can use them to navigate to new search results,...
### Describe the problem Hi, We're building SvelteKit app into a Docker image using SvelteKit Node.js adapter. We'd like to use a single Docker image in all environments but set...
### Describe the problem Even though `require-trusted-types-for` seems to be present in the list of CSP directives in the configuration, setting it (to `script`, which is its only value) will...
fetch from *.svelte (e.g. in button click) triggers repeated console warning not to use window.fetch
### Describe the bug Since some recent sveltekit versions I am getting repeatedly the following developer warning in the browser console: Loading /api/test?id=123 using `window.fetch`. For best results, use the...
### Describe the bug The [docs](https://kit.svelte.dev/docs/migrating#integrations-html-minifier) provide a way which you can use to minify the HTML that is rendered. However, if you use that method, it breaks adapter-node. This...
### Describe the bug Ever since updating to the latest SvelteKit my project has had nothing but random error after random error. Sometimes a "SemiColon missing" or "export not provided"...
### Describe the problem if i have `paths.base` specified, the url that `vite dev` outputs is incorrect: ```js // svelte.config.js import adapter from '@sveltejs/adapter-node' const config = { kit: {...
### Describe the bug Build `vite build` of demo app (`npm create svelte@latest`) fails with `ENAMETOOLONG` in `src/exports/vite/index.js` L460 in 'Prerendering' phase when it tries to fork(). https://github.com/sveltejs/kit/blob/96751b0636f1cd511498de1de4d70990079348ea/packages/kit/src/exports/vite/index.js#L460 Root cause...
### Describe the bug In dev mode, SvelteKit adds a Vite middleware which determines a base URL for the `event.url` that's passed down through request handlers: **https://github.com/sveltejs/kit/blob/master/packages/kit/src/exports/vite/dev/index.js#L268-L270** ```js const base...