This commit is contained in:
ZXY101
2023-08-04 15:10:28 +02:00
parent 3adfa1ccf5
commit 1c3af6df13
6 changed files with 58 additions and 16 deletions

View File

@@ -1,11 +1,13 @@
import adapter from '@sveltejs/adapter-auto';
import { vitePreprocess } from '@sveltejs/kit/vite';
import preprocess from 'svelte-preprocess';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: vitePreprocess(),
preprocess: preprocess({
scss: {
prependData: `@use './src/variables' as *;`
}
}),
kit: {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.