Results 116 comments of lishaobos

我把你的 lock 删了,安装后,打包没啥问题: ![image](https://github.com/antfu/unplugin-vue-components/assets/46661044/456b5af8-d87c-4eb2-93d5-5556091dd2f4)

不好意思,我开始看错了,我看了下,稍微改变下 cdn plugin 的语法就 ok

@vivid05 我已经给 cdn 插件提了 pr,但是看着好久不维护了,你可以 fork 下来,照着我的修改改一下,就三行代码 https://github.com/MMF-FE/vite-plugin-cdn-import/pull/41/files

我试过了,ok,你看下 vant 项目最终使用的 cdn 是不是修改后打包的文件,

这个是打包后的样子,你可以试试打印下,是否进去了 ![image](https://github.com/antfu/unplugin-vue-components/assets/46661044/7e195527-a3a7-41bc-8434-d4f14250ffd1) ![image](https://github.com/antfu/unplugin-vue-components/assets/46661044/fa4f4445-5d20-4922-a2b9-a3bd60dd0b73)

In my test, the new addition will be added automatically, delete it is not, delete this can be optimized

这个看起来和 unplugin-vue-components 没有关系啊

你好,兄弟,这个优化暂时被驳回了,参考这个:https://github.com/antfu/unplugin-vue-components/issues/643#issuecomment-1588951920