1. npx degit probablykasper/svelte-vite-context-module-exports-bug svelte-vite-context-module-exports-bug
  2. cd svelte-vite-context-module-exports-bug && npm i
  3. npm run dev
  4. Open the website and check that the Show and Hide buttons work
  5. Trigger HMR in Counter.svelte, for example by changing the <h3> tag
  6. Now the Show and Hide buttons are broken

Top categories

svelte logo

Want a Svelte site built?

Hire a Svelte developer
Loading Svelte Themes