You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build via native svelte and it takes 200 ms to build a static files
npm run build
> -xtreme@0.0.0 build
> vite build
vite v5.4.10 building for production...
✓ 85 modules transformed.
dist/index.html 0.46 kB │ gzip: 0.30 kB
dist/assets/index-C89kWIpl.css 0.71 kB │ gzip: 0.33 kB
dist/assets/index-CfAFUTQE.js 18.82 kB │ gzip: 7.51 kB
✓ built in 208ms
Describe the proposed solution
I want to use sveltekit , but when I do the same build , its giving me more than 10 unneccessary js files in the name of modulepreload etc , I used adapter-static.. used fallback files , set export const prerender = true in +layout.js , its building but its building lots of files for server/ too,, how to mimic same building like its done in svelte native in sveltekit.
Importance
would make my life easier
The text was updated successfully, but these errors were encountered:
Can you provide a minimal reproduction in the form of a repository? Which exact files are you not expecting in the build output? The server files are needed by SvelteKit as part of the prerendering process. These are stored temporarily in .svelte-kit
Describe the problem
I am trying to build via native svelte and it takes 200 ms to build a static files
Describe the proposed solution
I want to use sveltekit , but when I do the same build , its giving me more than 10 unneccessary js files in the name of modulepreload etc , I used adapter-static.. used fallback files , set export const prerender = true in +layout.js , its building but its building lots of files for server/ too,, how to mimic same building like its done in svelte native in sveltekit.
Importance
would make my life easier
The text was updated successfully, but these errors were encountered: