We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b58b98 commit 1ea5086Copy full SHA for 1ea5086
docs/faq.md
@@ -1,5 +1,13 @@
1
# Frequently Asked Questions
2
3
+### Something is wrong with my config, how can I find where the problem comes from?
4
+
5
+`vite` and `vite-plugin-svelte` can be made more verbose by using the debug mode:
6
7
+- `export DEBUG=vite-plugin-svelte:config ; vite`: log `vite-plugin-svelte` debug info related to the config
8
+- `export DEBUG=vite-plugin-svelte:* ; vite`: log all `vite-plugin-svelte` debug info
9
+- `export DEBUG=* ; vite`: log all debug info
10
11
### Why is component state reset on HMR update?
12
13
Preservation of local component state after JS updates is disabled to avoid unpredictable and error-prone behavior.
0 commit comments