You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use vite 4.0.4, if I add new file to /static/ folder and import that in code, when page reloaded it's working well.
But in vite 5.2.9, code doesn't find new added file.
What is changed from 4.0.4??
save code
Result: returns error, code doesn't find new added file-2.glb
But if I downgrade vite to 4.0.4, above step's result loads 2.glb well. Here is 2.glb
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When I use vite 4.0.4, if I add new file to /static/ folder and import that in code, when page reloaded it's working well.
But in vite 5.2.9, code doesn't find new added file.
What is changed from 4.0.4??
Below steps describe my issue in more detail.
https://github.com/nightmare14226/test-vite
This is test project to showcase my issue.
It't now [email protected]
Result: returns error, code doesn't find new added file-2.glb
But if I downgrade vite to 4.0.4, above step's result loads 2.glb well.
Here is 2.glb
Beta Was this translation helpful? Give feedback.
All reactions