From aee09a2c77d5a3b830ea3b1447cb3ae32548f565 Mon Sep 17 00:00:00 2001 From: Benjamin Palko Date: Tue, 27 Jan 2026 10:03:31 -0500 Subject: [PATCH] remove console log --- svelte.config.js | 43 +++++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 20 deletions(-) diff --git a/svelte.config.js b/svelte.config.js index 749eb7f..3937fc3 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -5,28 +5,31 @@ import { join } from 'path'; /** @type {import('@sveltejs/kit').Config} */ const config = { - // Consult https://svelte.dev/docs/kit/integrations - // for more information about preprocessors - preprocess: [vitePreprocess(), mdsvex({ - extensions: ['.md'], layout: { - blog: join(import.meta.dirname, './src/lib/layout/Blog.svelte') - }, - highlight: { - highlighter: (code, lang, meta) => { - console.log(meta); - return ``; - } - } - })], + // Consult https://svelte.dev/docs/kit/integrations + // for more information about preprocessors + preprocess: [ + vitePreprocess(), + mdsvex({ + extensions: ['.md'], + layout: { + blog: join(import.meta.dirname, './src/lib/layout/Blog.svelte') + }, + highlight: { + highlighter: (code, lang) => { + return ``; + } + } + }) + ], - kit: { - // adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list. - // If your environment is not supported, or you settled on a specific environment, switch out the adapter. - // See https://svelte.dev/docs/kit/adapters for more information about adapters. - adapter: adapter() - }, + kit: { + // adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list. + // If your environment is not supported, or you settled on a specific environment, switch out the adapter. + // See https://svelte.dev/docs/kit/adapters for more information about adapters. + adapter: adapter() + }, - extensions: ['.svelte', '.md'] + extensions: ['.svelte', '.md'] }; export default config;