Hi, I have the same requirement as you comment on vite about add timestamp on refers.
adoin opened this issue · comments
Your origin common is vitejs/vite#5825 (comment)
Can you provide which plugin or else you solve this? I found you marked as completed.
Thanks.
Hi, the described code for vite.config.js
in that comment worked for me in my scenario, but as @ryoji-sagara wrote in the follow-up, it might not work if you have additional imports from other JS files pointing to the same files without the timestamp.
Hi, the described code for
vite.config.js
in that comment worked for me in my scenario, but as @ryoji-sagara wrote in the follow-up, it might not work if you have additional imports from other JS files pointing to the same files without the timestamp.
I see maybe more research needed.
Thanks all the same.