From 40470faa6a398846b375634643b116a8eb1e0296 Mon Sep 17 00:00:00 2001 From: bloodwiing Date: Thu, 16 May 2024 00:40:16 +0300 Subject: [PATCH] Add: SCSS explicit include path --- svelte.config.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/svelte.config.js b/svelte.config.js index d68dc86..e4667e3 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,9 +1,14 @@ import adapter from '@sveltejs/adapter-auto'; import preprocess from 'svelte-preprocess'; +import sveltePreprocess from 'svelte-preprocess'; /** @type {import('@sveltejs/kit').Config} */ const config = { - preprocess: preprocess(), + preprocess: sveltePreprocess({ + scss: { + includePaths: ['./static/css'], + } + }), kit: { // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list. // If your environment is not supported, or you settled on a specific environment, switch out the adapter.