diff --git a/svelte.config.js b/svelte.config.js index 1cf26a0..0add676 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -12,6 +12,10 @@ const config = { // If your environment is not supported or you settled on a specific environment, switch out the adapter. // See https://kit.svelte.dev/docs/adapters for more information about adapters. adapter: adapter() + }, + + vitePlugin: { + inspector: true } }; diff --git a/vite.config.ts b/vite.config.ts index bbf8c7d..56f2195 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -2,5 +2,8 @@ import { sveltekit } from '@sveltejs/kit/vite'; import { defineConfig } from 'vite'; export default defineConfig({ - plugins: [sveltekit()] + plugins: [sveltekit()], + server: { + host: true + } });