Jason Bullard
Jason Bullard
Forgot that I swapped out Svelte for SvelteKit using [these directions](https://wails.io/docs/guides/sveltekit) which is what broke HMR. Trying to figure out why HMR is no longer working with SK.
Ok, so the problem with HMR not working is based on the `vite` and `@vitejs/plugin-react` version installed. Removing the default `frontend` directory and initializing a new vite project, regardless of...
Taking a look through the [vite-setup-catalogue](https://github.com/sapphi-red/vite-setup-catalogue) and configured Vite to be behind a reverse proxy. ``` import { defineConfig } from "vite"; import react from "@vitejs/plugin-react"; // https://vitejs.dev/config/ export default...
So it changed with Vite 4. If I used any version prior to that it worked. This was a breaking change for Vite because of breaking changes in Rollup.
Coming back around to this I did some more tinkering and here is my `vite.config.ts` that allows HMR to work and removes the aforementioned error. I've also included the `package.json`...
I would like to see some type of official context api added as well. Here is what I'm currently doing to ensure my loaders and actions have access to the...