rescript-lang:master ← rescript-lang:fix-hmr
opened 05:54PM - 24 Nov 25 UTC
- Adds and configures `vite-plugin-page-reload` to enable reloads when editing `….mdx` files
- Removes unused `Layout` module
- Adds `app` folder so it picks up tailwind classes
- Adds files to exclude to avoid any duplicated reloads
- Configures `@vitejs/plugin-react` to include and watch `.mjs` files
- Removes incorrect `lightningcss` config, which didn't do anything because it was wrong
Note: this does not enable SSR when a file has more than one React component