Skip to content

Commit 7758a56

Browse files
authored
docs(config): add more option examples (#383)
1 parent 0b19b31 commit 7758a56

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/config.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,13 @@ A basic Svelte config looks like this:
4141
```js
4242
// svelte.config.js
4343
export default {
44-
// config options
44+
// svelte options
4545
compilerOptions: {},
46-
preprocess: []
46+
preprocess: [],
47+
// plugin options
48+
onwarn: (warning, handler) => handler(warning),
49+
// experimental options
50+
experimental: {}
4751
};
4852
```
4953

0 commit comments

Comments
 (0)