Skip to content
framework2 active rulesVerified 2026-09-30

Svelte .gitignore Template

SvelteKit internal generated types, compiler cache directory, and production build output. Generated and merged deterministically with upstream GitHub repository patterns to keep your repository clean of package directories, temporary build artifacts, and local environment files.

Interactive Stack Generator

Preconfigured with Svelte
Search for templates
Quick add:
Selected1
Svelte
Selected Templates (1)
.gitignore
2 rules
### Svelte ###
# SvelteKit internal generated types and build directory
.svelte-kit/
# SvelteKit production build output
build/
7 lines•UTF-8
Deterministic

Raw Svelte .gitignore

Crawlable upstream source template
svelte.gitignore•6 lines•UTF-8
# SvelteKit internal generated types and build directory
.svelte-kit/
# SvelteKit production build output
build/

Key Pattern Breakdown

Build Outputs & Compiled Artifacts

Generated binary files, compilation targets, and distribution bundles that can be reliably reproduced from source.

build/

Source & Verification

License: CC0-1.0

Place this file in the root directory of your project as .gitignore. Changes take effect on newly added or untracked files.