Skip to content

Commit 4bf920e

Browse files
committed
feat: add Vite plugin inspector configuration to svelte.config.js
1 parent a01561a commit 4bf920e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

svelte.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ const config = {
66
// Consult https://svelte.dev/docs/kit/integrations
77
// for more information about preprocessors
88
preprocess: vitePreprocess(),
9+
vitePlugin: {
10+
inspector: {
11+
toggleKeyCombo: 'alt-x',
12+
showToggleButton: 'always',
13+
toggleButtonPos: 'bottom-right'
14+
}
15+
},
916

1017
kit: {
1118
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.

0 commit comments

Comments
 (0)