Ross ROSS = Recommend OSS · open-source software intelligence for agents

sveltejs/svelte-preprocess

A ✨ magical ✨ Svelte preprocessor with sensible defaults and support for: PostCSS, SCSS, Less, Stylus, Coffeescript, TypeScript, Pug and much more. observed · 2026-08-28

github.com/sveltejs/svelte-preprocess · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

88/100

  • Activity 84
  • Release rhythm 85
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 2
  • age_days: 3038
  • days_rel: 100
  • days_push: 100
  • n_releases_24m: 2

Full methodology

Adoption not part of the score

1797 stars · 152 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

svelte-preprocess is a Svelte preprocessor library that lets you write Svelte components in languages other than plain JavaScript, HTML, and CSS, such as TypeScript, SCSS, Less, Stylus, PostCSS, CoffeeScript, and Pug. It bundles multiple language preprocessors behind a single configuration with sensible defaults, typically wired up via a svelte.config.js file.

Use cases

  • use TypeScript in Svelte components
  • write Svelte component styles in SCSS or Less
  • use Pug templates in Svelte files
  • configure multiple Svelte preprocessors with one package
  • add PostCSS support to a Svelte project
  • preprocess CoffeeScript in Svelte script tags

When to choose

  • you use Svelte with languages beyond JS/HTML/CSS and are not on Vite with vite-plugin-svelte
  • you need a single preprocessor covering TypeScript, SCSS, Less, Stylus, Pug, and more
  • you are on Svelte 4 or an older setup without native TypeScript handling

When to avoid

  • you use Svelte 5 and only need type-only TypeScript features, which Svelte handles natively
  • you use Vite, where vite-plugin-svelte's built-in preprocessor covers TypeScript and common CSS preprocessors
  • you only write plain JavaScript, HTML, and CSS in Svelte components

Facets

library · maturity maintenance

build-tool templating css-framework web-development frontend developer-tools svelte preprocessor typescript scss postcss pug less stylus coffeescript sveltekit nodejs javascript

1 source

Member repositories

RepositoryRoleHealth v2
sveltejs/svelte-preprocessmain88

For agents

markdown · JSON · MCP: product_card(name="sveltejs/svelte-preprocess")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem