unplugin / unplugin-vue-components

📲 On-demand components auto importing for Vue
https://www.npmjs.com/package/unplugin-vue-components
MIT License
3.66k stars 341 forks source link

some components are missing their sourcemap #716

Open zcmerlin opened 7 months ago

zcmerlin commented 7 months ago

Describe the bug

I created a Vue 3 project using Vite and added multiple-level routes. After using the plugin, the automatic component import feature works, but in the development environment, some components are missing their sourcemaps. The configuration, project structure, and dependency versions are shown in the image.

Snipaste_2023-11-20_17-20-54 Snipaste_2023-11-20_17-21-40 Snipaste_2023-11-20_17-21-21 Snipaste_2023-11-20_17-20-35 Snipaste_2023-11-20_17-21-07

Reproduction

git@github.com:zcmerlin/unplugin-vue-components-issue.git

System Info

node v16.20.2
pnpm v8.7.0
chrome v119.0.6045.160

Used Package Manager

npm

Validations