Add: SCSS explicit include path

This commit is contained in:
Donatas Kirda 2024-05-16 00:40:16 +03:00
parent f2e10352eb
commit 40470faa6a
Signed by: bloodwiing
GPG Key ID: 63020D8D3F4A164F

View File

@ -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.