Jevon617 / unplugin-svg-component

generate a vue/react component through svg files, supporting svg file HMR, Tree-shaking, SSR and TS hint.
MIT License
58 stars 5 forks source link

when add file ,throw a error| 新增文件后,报错 #8

Open zhougonglai opened 1 year ago

zhougonglai commented 1 year ago

platform: win framework: vite@latest, vue3

when add file,新增文件后立马报错。。。。希望watch file 机制能更新一下

node_modules\unplugin-vue-components\dist\chunk-44ONIEX7.js:50
    if (_minimatch2.default.call(void 0, _utils.slash.call(void 0, filepath), glob))
Jevon617 commented 1 year ago

能提供一个最小的复现 demo 吗?