Skip to content

Commit

Permalink
enable svelte inspector
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanatkn committed Nov 4, 2024
1 parent 2f12719 commit 6ebb856
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6ebb856

Please sign in to comment.