Jonghakseo / chrome-extension-boilerplate-react-vite

Chrome Extension Boilerplate with React + Vite + Typescript
MIT License
2.43k stars 357 forks source link

Avoid creating vite-timestamp files #720

Open PatrykKuniczak opened 2 months ago

PatrykKuniczak commented 2 months ago

Is your feature request related to a problem? Please describe. I think it's good idea to avoid creating that files, because it's really unnecessary and annoying.

Describe the solution you'd like On Discord we was talking about possible solution. If there's no native way do avoid creating it, we can create script which will be removing that files during hmr reloading.

PatrykKuniczak commented 1 month ago

It's not related to our project at all, that's because of the bug/unwanted behavior.

I've created bash script for cleaning up this mess, which vite can't resolve over the years ... I was basing on this comment: https://github.com/vitejs/vite/issues/13267#issuecomment-1998598546