From 9ade2bab3f544b8040f471a11335b6f509035b6e Mon Sep 17 00:00:00 2001 From: Fernando Dodino <fernando.dodino@gmail.com> Date: Wed, 11 Dec 2024 21:03:42 -0300 Subject: [PATCH] add ts config --- svelte.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svelte.config.js b/svelte.config.js index 580cd9d..0b7c5ee 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -5,7 +5,7 @@ import { vitePreprocess } from '@sveltejs/vite-plugin-svelte' const config = { // Consult https://svelte.dev/docs/kit/integrations // for more information about preprocessors - preprocess: vitePreprocess(), + preprocess: vitePreprocess({ script: true }), kit: { // adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.