Skip to content

Commit efae8bf

Browse files
authored
docs: update links to svelte-hmr readme (#415)
1 parent a928d22 commit efae8bf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/config.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,10 @@ A [picomatch pattern](https://github.com/micromatch/picomatch), or array of patt
173173

174174
### hot
175175

176-
- **Type:** `boolean | SvelteHotOptions` - See [svelte-hmr](https://github.com/sveltejs/svelte-hmr#options)
176+
- **Type:** `boolean | SvelteHotOptions` - See [svelte-hmr](https://github.com/sveltejs/svelte-hmr/blob/master/packages/svelte-hmr#options)
177177
- **Default:** `true` for development, always `false` for production
178178

179-
Enable or disable Hot Module Replacement ([HMR](https://github.com/sveltejs/svelte-hmr#whats-hmr-by-the-way)).
179+
Enable or disable Hot Module Replacement ([HMR](https://github.com/sveltejs/svelte-hmr/blob/master/packages/svelte-hmr#whats-hmr-by-the-way)).
180180

181181
> Do not customize the options unless you know exactly what you are doing.
182182

docs/faq.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### Why is component state reset on HMR update?
44

5-
Preservation of local component state after JS updates is disabled to avoid unpredictable and error-prone behavior. You can read more about it [here](https://github.com/rixo/svelte-hmr#preservation-of-local-state).
5+
Preservation of local component state after JS updates is disabled to avoid unpredictable and error-prone behavior. You can read more about it [here](https://github.com/sveltejs/svelte-hmr/blob/master/packages/svelte-hmr#preservation-of-local-state).
66

77
Please note that if you only edit the `<style>` node, a separate CSS update can be applied where component state is 100% preserved.
88

0 commit comments

Comments
 (0)