Skip to content

Commit

Permalink
chore(config): enable customElement in compiler option
Browse files Browse the repository at this point in the history
  • Loading branch information
emendelski committed Oct 21, 2024
1 parent 0cae392 commit 903274c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 903274c

Please sign in to comment.