From d5635f500c5ddf01694f9b9bc63f51b74461bf99 Mon Sep 17 00:00:00 2001 From: ptrxyz Date: Mon, 4 Nov 2024 13:15:16 +0100 Subject: [PATCH 1/2] Update config.md to include link to ModuleCompileOptions As discussed here: https://github.com/sveltejs/vite-plugin-svelte/issues/1016 --- docs/config.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/config.md b/docs/config.md index f13c055cb..7a55134f4 100644 --- a/docs/config.md +++ b/docs/config.md @@ -148,6 +148,8 @@ These options are specific to the Svelte compiler and are generally shared acros }); ``` + In addition, Svelte 5's compiler interface also provides a way to filter warnings using the `warningFilter` setting as described in [Svelte 5's docs](https://svelte.dev/docs/svelte/svelte-compiler#ModuleCompileOptions). + ## Plugin options These options are specific to the Vite plugin itself. From 4274fad3680128843c00f6aa381afe0da4363813 Mon Sep 17 00:00:00 2001 From: Conduitry Date: Mon, 4 Nov 2024 08:57:13 -0500 Subject: [PATCH 2/2] format --- docs/config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/config.md b/docs/config.md index 7a55134f4..707dab60a 100644 --- a/docs/config.md +++ b/docs/config.md @@ -148,7 +148,7 @@ These options are specific to the Svelte compiler and are generally shared acros }); ``` - In addition, Svelte 5's compiler interface also provides a way to filter warnings using the `warningFilter` setting as described in [Svelte 5's docs](https://svelte.dev/docs/svelte/svelte-compiler#ModuleCompileOptions). + In addition, Svelte 5's compiler interface also provides a way to filter warnings using the `warningFilter` setting as described in [Svelte 5's docs](https://svelte.dev/docs/svelte/svelte-compiler#ModuleCompileOptions). ## Plugin options