From b360303a83d5e5d08e3b3d0b849d9726a2c539ad Mon Sep 17 00:00:00 2001 From: bluwy Date: Thu, 7 Jul 2022 22:22:57 +0800 Subject: [PATCH] docs(config): add more option examples --- docs/config.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/config.md b/docs/config.md index 6a1bda94b..e3e3db29d 100644 --- a/docs/config.md +++ b/docs/config.md @@ -41,9 +41,13 @@ A basic Svelte config looks like this: ```js // svelte.config.js export default { - // config options + // svelte options compilerOptions: {}, - preprocess: [] + preprocess: [], + // plugin options + onwarn: (warning, handler) => handler(warning), + // experimental options + experimental: {} }; ```