Galena images

This commit is contained in:
Aaron Gutierrez
2026-04-13 20:27:49 -07:00
parent e7818fb281
commit 72eca0a76a
7 changed files with 80 additions and 29 deletions

View File

@@ -17,6 +17,17 @@ export default defineConfig({
plugins: ["babel-plugin-react-compiler"],
},
}),
{
// Rolldown-vite's JSON HMR logs an update but doesn't reload the browser.
// Force a full reload when data.json changes.
name: "reload-data-json",
handleHotUpdate({ file, server }) {
if (file.endsWith("/data.json")) {
server.ws.send({ type: "full-reload" });
return [];
}
},
},
],
resolve: {
alias: {