From 903274cd82d7640142e4a0101a1319562f7c264e Mon Sep 17 00:00:00 2001 From: Kamil Mendelski Date: Mon, 21 Oct 2024 13:58:05 +0200 Subject: [PATCH] chore(config): enable customElement in compiler option --- svelte.config.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/svelte.config.js b/svelte.config.js index 01bac29..4c25e27 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -2,11 +2,13 @@ import adapter from '@sveltejs/adapter-auto'; import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; - const config = { kit: { adapter: adapter() }, - preprocess: vitePreprocess() + preprocess: vitePreprocess(), + compilerOptions: { + customElement: true, + } }; export default config;