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 4a1b9cd commit fe8ae62
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 fe8ae62

Please sign in to comment.