kit
kit copied to clipboard
web development, streamlined
let's see if the latest version works... Issue from 1.28.0 was fixed: https://github.com/microsoft/playwright/issues/18865
### Describe the problem In the FAQ, it is said I can add a middleware in dev mode by creating a vite plugin. But my middleware is a typescript file...
### Describe the bug `"plugins": ["prettier-plugin-svelte"]` in `.prettierrc` is preventing VSCode from auto-formatting `*.svelte` files After removing this line, Alt+Shift+F is now able to successfully auto-format `*.svelte` files A Skeleton...
### Describe the bug Every Svelte UI library that want to check if the current environment is the server or the client, uses often the variable [`$app/environment.browser`](https://kit.svelte.dev/docs/modules#$app-environment-browser). While it's the...
### Describe the bug The adapter should include any assets inside the `client` output folder instead `_app` only (`kit.appDir`). Latest changes in kit allow plugins to emit/generate assets in the...
### Problem Prerendered pages on `adapter-cloudflare` should not require a worker request. See issue for more info #7298 ### Solution Prerender pages as `/foo/index.html` instead of `/foo.html`, then exclude `/foo`...
### Describe the bug Kit [inlines style during dev](https://github.com/sveltejs/kit/blob/bf7a6c3eb7f726d56453c63e07ba10a42428ab22/packages/kit/src/exports/vite/dev/index.js#L123) to reduce FOUC. However, this inlining is a bit to gready, because it will also include the content of files imported...
### Describe the problem Expose a way in handle to get access to the final deployed path of assets. This will allow things like on the fly image optimisation. ###...
Credentials example in handleFetch hook documentation is incorrect if a cookie was set by SvelteKit
### Describe the bug [The documentation for `handleFetch`](https://kit.svelte.dev/docs/hooks#server-hooks-handlefetch) provides the following example for forwarding cookies to an API on a different domain than SvelteKit is hosted at: ```js /** @type...
### Describe the problem In [the docs for `handleFetch` hook](https://kit.svelte.dev/docs/hooks) it recommends to hit the API directly during SSR, which I agree: ```javascript export async function handleFetch({ request, fetch })...