mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 01:54:48 +00:00
fix(cli): missing style deps if component doesn't have style
This commit is contained in:
@@ -99,7 +99,7 @@ export async function genStyleDepsMap() {
|
||||
|
||||
const map = {} as DepsMap;
|
||||
|
||||
components.filter(checkStyleExists).forEach(component => {
|
||||
components.forEach(component => {
|
||||
map[component] = analyzeComponentDeps(component);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user