unplugin / unplugin-vue-ce

🍒 A vue plugin that extends vue's Custom Element capabilities
MIT License
75 stars 3 forks source link

Sourcemap point to missing source files #12

Closed mrcego closed 1 year ago

mrcego commented 1 year ago

Hi @baiwusanyu-c!

I'm not sure what's going on here, and I don't know if this issue is related to dependency, but when I work with CE, Terminal shows warnings:

Captura de pantalla 2023-06-15 a la(s) 8 49 57 a m

I was testing here too and I was able to reproduce. Type pnpm dev:ce for see the warnings. Thanks in advance.

baiwusanyu-c commented 1 year ago

These warnings are because I did not generate "SourceMap". Usually, the compilation plug-in (such as "vue-marcos") used in our project will compile our project code. Generate "SourceMap" to facilitate developers debug. And "Unplugin-Vue-CE" is described as "Readme.md", it is injected with the "Vue" source code. This is a behavior that modifys the dependence code, so it does not need to generate "SourceMap". If everything is normal, you can ignore these warnings

mrcego commented 1 year ago

Perfect, I will close this issue safely then. Thanks again for the support @baiwusanyu-c ;)