diff --git a/svelte.config.js b/svelte.config.js
index be9e601d12f6ea36983237b7c63d4b152eddeb5b..ee17f754e45e51a51998f0d08b8a74bb081d0708 100644
--- a/svelte.config.js
+++ b/svelte.config.js
@@ -1,4 +1,5 @@
 import adapter from '@sveltejs/adapter-node';
+import { vitePreprocess } from '@sveltejs/kit/vite';
 import { importAssets } from 'svelte-preprocess-import-assets';
 
 /** @type {import('@sveltejs/kit').Config} */
@@ -10,7 +11,8 @@ const config = {
 		}
 	},
 	preprocess: [
-		importAssets()
+		importAssets(),
+		vitePreprocess()
 	]
 };