vite-plugin-vue2 icon indicating copy to clipboard operation
vite-plugin-vue2 copied to clipboard

Relative path error

Open 949054042 opened this issue 4 years ago • 1 comments

when i try to import a component relatively, i got a error like this image

949054042 avatar Nov 10 '21 09:11 949054042

With version 1.8.2 (also 1.9.0) I got this kind of regression too:

[vite-plugin-vue2] D:\rep\path\component.vue has no corresponding SFC entry in the cache. This is a vite-plugin-vue2 internal error, please open an issue.
file: D:/rep/path/component.scss?vue&type=style&index=0&from=D:\rep\path\component.vue&src&lang.scss
error during build:
Error: D:\rep\path\component.vue has no corresponding SFC entry in the cache. This is a vite-plugin-vue2 internal error, please open an issue.
    at getDescriptor (D:\rep\path1\WebCommonUI\node_modules\vite-plugin-vue2\dist\utils\descriptorCache.js:63:15)
    at Object.transform (D:\rep\path1\WebCommonUI\node_modules\vite-plugin-vue2\dist\index.js:108:68)
    at D:\rep\path1\WebCommonUI\node_modules\vite\node_modules\rollup\dist\shared\rollup.js:22620:25

works fine when downgrading to 1.8.1

kskalski avatar Nov 12 '21 20:11 kskalski