Tal500

Results 82 comments of Tal500

Few questions that may be helpful for tracing: 1. Does it happen when the page immediately loaded, or only after some time/interactions? 2. Can you share us a simple code...

> This seems like something that will have to be fixed in Vite. As a test, I removed all the `` elements using `transformPageChunk`, and saw the same result, which...

> I believe you can control this with a maxage response from that page's load function, and also by the cache header from the API response itself. I don't think...

any update to this with #5875 ?

I'm not against this suggestion, but I do wonder, however - why do you need to run SvelteKit packaging on monorepos? You may just import the path of the Svelte...

> @Tal500 You can just import paths, but then you'll not use the library the same way others use it when it's distributed. The monorepos I work with are usually...

> @NikolayMakhonin same thing in clean latest version of sveltekit with this plugin (vitejs/plugin-legacy) but with errors : > > ``` > > [email protected] build > > vite build >...

I'm glad to share my work - PR #6265, solving this issue. Please test locally in your legacy browsers and share your experience, I have only tested it on IE11.

> [@vitejs/plugin-legacy](https://github.com/vitejs/vite/blob/main/packages/plugin-legacy/CHANGELOG.md) was updated to 2.0.1 Yes, the demos on my PR https://github.com/sveltejs/kit/pull/6265 are using it! Thought I'm not sure the update made a difference.

Sapper use the architecture of Express/Polka middlewares. You can add in routes folder a directory called "[lang]", and put the main layout file as the file "[lang]/_layout.svelte". In this layout...