Repository navigation
Conversation
|
I was going to suggest this method instead from previous PR but it was more performant by avoiding extra copy-override operations. Is there a way to fix nuxt-vite behavior by not copying the assets? A quick workaround would be cleanup output/public just before starting copy but it had also benefit of supporting edge cases for custom override. So i prefer if fixing vite and otherwise cleanup with previous PR. |
|
I think we could disable the public copy for Vite, but I am afraid it will affect how asset paths are resolved by Vite. Removing the public before copy might not work as Vite will merge the bundle and assets, which would be hard to identify. I will do a bit more research to see if it's possible on Vite side. |
|
It seems there is a |
🔗 Linked issue
❓ Type of change
📚 Description
#817 was not a complete fix. As Vite will make an initial copy for the public file, ignoring
overrideswill instead keep the version from Vite's initial copy.📝 Checklist