Code breaks, fix it faster
Get to the root cause of every issue with Svelte app monitoring

made with Svelte

Svelte Preprocess

Custom Preprocessor

Visit Site

Description

Custom Preprocessor

"Svelte's own parser understands only JavaScript, CSS and its HTML-like syntax. To make it possible to write components in other languages, such as TypeScript or SCSS, Svelte provides the preprocess API, which allows to easily transform the content of your markup and your style/script tags.

Writing your own preprocessor for, i.e SCSS is easy enough, but it can be cumbersome to have to always configure multiple preprocessors for the languages you'll be using.

svelte-preprocess is a custom svelte preprocessor that acts as a facilitator to use other languages with Svelte, providing multiple features, sensible defaults and a less noisy development experience."


Creator

Svelte Official
@sveltejs


Social Media Links

Svead Svelte Head Component
icon-eye-dark Created with Sketch. 942
SvelteKit Auth Authentication Library
icon-eye-dark Created with Sketch. 28.553
Sentry for Svelte Svelte Error & Performance Monitoring
🧡 Sponsored by Friends
We’re hosting on Digital Ocean! 💙 Try it today and get a free $100 credit.
Svelte Themer Theming Engine
icon-eye-dark Created with Sketch. 1.173
Superforms for SvelteKit SvelteKit Form Library
icon-eye-dark Created with Sketch. 2.539