I still have hmr.js when I do `pnpm build` in an Astro project???

how do I generate a production optimised build in Astro?
5 Replies
Neto
Neto2y ago
npm run build just did a default installation dev and then build
Neto
Neto2y ago
no hmr.js file
venego
venego2y ago
oh the preview and dev servers both run on the same server. IDK how that is possible. I was viewing the dev one instead. I still get this client.hash.js is because I use react?
Neto
Neto2y ago
Probably If works fine on prod Just don't care
venego
venego2y ago
alrighty thank you for your help
Want results from more Discord servers?
Add your server