From fe8ae62d7588eabe5c9a7e73d511f61d50316827 Mon Sep 17 00:00:00 2001 From: Ryan Atkinson Date: Mon, 4 Nov 2024 10:51:08 -0700 Subject: [PATCH] enable svelte inspector --- svelte.config.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/svelte.config.js b/svelte.config.js index 52b58a4..3d054d9 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -5,9 +5,7 @@ import adapter from '@sveltejs/adapter-static'; export default { preprocess: [vitePreprocess()], compilerOptions: {runes: true}, - // TODO ideally this would use the default but it conflicts with ctrl+shift+c in Chrome, - // but it's strange to me that I'm resetting it to what the Mac default is - // vitePlugin: {inspector: {toggleKeyCombo: 'meta-shift'}}, // docs: https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/inspector.md + vitePlugin: {inspector: true}, kit: { adapter: adapter(), paths: {relative: false}, // use root-absolute paths: https://kit.svelte.dev/docs/configuration#paths