vite-plugin-autogeneration-import-file
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -189,2 +189,3 @@ import fg from 'fast-glob'; | ||
let changeFiles = []; | ||
let delNumber = 0; | ||
loadFiles[index].slice(0).forEach((val, k) => { | ||
@@ -196,3 +197,4 @@ if (val.fileName.startsWith(fileName + '/') || val.fileName == fileName) { | ||
}); | ||
loadFiles[index].splice(k, 1); | ||
loadFiles[index].splice(k - delNumber, 1); | ||
delNumber++; | ||
changeFiles.push(val.fileName); | ||
@@ -199,0 +201,0 @@ } |
{ | ||
"name": "vite-plugin-autogeneration-import-file", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "vite 自动生成 引入文件插件 支持vite2 、vite3 支持配合`unplugin-vue-components`自动引入组件/指令", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
70208
464