mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 01:54:48 +00:00
fix(cli): should check style exists when gen component style entry
This commit is contained in:
@@ -18,7 +18,7 @@ function getStylePath(component: string) {
|
||||
return join(SRC_DIR, `${component}/index.${CSS_LANG}`);
|
||||
}
|
||||
|
||||
function checkStyleExists(component: string) {
|
||||
export function checkStyleExists(component: string) {
|
||||
return existsSync(getStylePath(component));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user