mirror of
https://github.com/sveltejs/svelte.git
synced 2024-11-29 16:36:44 +01:00
docs: link to list of community preprocessors (#4817)
This commit is contained in:
parent
9be3310431
commit
5ac8a1d07a
@ -183,6 +183,10 @@ const ast = svelte.parse(source, { filename: 'App.svelte' });
|
||||
|
||||
### `svelte.preprocess`
|
||||
|
||||
A number of [community-maintained preprocessing plugins](https://github.com/sveltejs/integrations#preprocessors) are available to allow you to use Svelte with tools like TypeScript, PostCSS, SCSS, and Less.
|
||||
|
||||
You can write your own preprocessor using the `svelte.preprocess` API.
|
||||
|
||||
```js
|
||||
result: {
|
||||
code: string,
|
||||
|
Loading…
Reference in New Issue
Block a user