vite-plugin-vue2
vite-plugin-vue2 copied to clipboard
has no corresponding SFC entry in the cache after checkout branch
version 2.0.1
branch a has component A, and branch b doesn't have component A, when i work on branch b, and then checkout to a, and then checkout to a. this error show .
ERROR 下午2:11:38 [vite] Internal server error: /src/views/menu/components/A.vue has no corresponding SFC entry in the cache. This is a vite-plugin-vue2 internal error, please open an issue.
vite version 2.9.9
when I delete one component used by another component can trigger this error too. it seems like that delete file for vite is a js-update event, and vite will try to get this file but get 404, which trigger plugin load api
will trigger crash