mirror of
https://github.com/zebrajr/ollama-webui.git
synced 2025-12-05 12:20:26 +01:00
Update svelte.config.js
Added svelte inspector for easier development
This commit is contained in:
parent
4269df041f
commit
8468085291
|
|
@ -16,8 +16,16 @@ const config = {
|
|||
fallback: 'index.html'
|
||||
})
|
||||
},
|
||||
vitePlugin: {
|
||||
inspector: {
|
||||
toggleKeyCombo: 'meta-shift', // Key combination to open the inspector
|
||||
holdMode: false, // Enable or disable hold mode
|
||||
showToggleButton: 'always', // Show toggle button ('always', 'active', 'never')
|
||||
toggleButtonPos: 'bottom-right' // Position of the toggle button
|
||||
}
|
||||
},
|
||||
onwarn: (warning, handler) => {
|
||||
const { code, _ } = warning;
|
||||
const { code } = warning;
|
||||
if (code === 'css-unused-selector') return;
|
||||
|
||||
handler(warning);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user