Developers · SvelteKit build folders (.svelte-kit)

Is it safe to delete the .svelte-kit folder?

Safe to removeComes back on its ownTypical size: 10–500 MB per project
…/.svelte-kit

Anywhere in your projects: a “.svelte-kit” folder next to “package.json”.

Updated October 17, 2026By the MoreRoom team, Yando Pte. Ltd.This page as Markdown

The short answer

Yes. Rebuilt or re-downloaded automatically when needed.

What is it?

SvelteKit generates a .svelte-kit folder next to package.json with generated types, route manifests and build output. Only folders in projects untouched for 14 days are considered. Typically tens to hundreds of MB.

What happens if you delete it?

It is recreated by vite dev, vite build or svelte-kit sync (usually run automatically after installing dependencies). Nothing of yours is lost.

How to remove it properly

Stop the dev server, then move the .svelte-kit folder to the Trash in Finder, or run rm -rf .svelte-kit in the project (permanent).

Quit the app that uses it, then move it to the Trash. Empty the Trash when you’re sure.

  • MoreRoom only suggests items unused for 14 days or more.

How MoreRoom helps

MoreRoom recognises this item, shows its real size and when it was last used, and labels it “Safe to remove”. In the free version you can move it to the Trash in one click, with Undo; Pro collects every safe item at once.

Frequently asked questions

Is it safe to delete the .svelte-kit folder?

Yes. Rebuilt or re-downloaded automatically when needed. It is recreated by vite dev, vite build or svelte-kit sync (usually run automatically after installing dependencies). Nothing of yours is lost.

Will SvelteKit build folders (.svelte-kit) come back after I delete it?

Yes. It is recreated by vite dev, vite build or svelte-kit sync (usually run automatically after installing dependencies). Nothing of yours is lost.

How do I remove SvelteKit build folders (.svelte-kit) properly?

Stop the dev server, then move the .svelte-kit folder to the Trash in Finder, or run rm -rf .svelte-kit in the project (permanent).

Guides that mention it

Related folders