@dxtmisha/scripts
Version:
Development scripts and CLI tools for DXT UI projects - automated component generation, library building and project management tools
12 lines (10 loc) • 422 B
text/typescript
import { UI_DIRS_COMPONENTS } from '../config'
/**
* Get component paths by combining UI_DIRS_COMPONENTS with the given path.
*
* Возвращает пути компонента, объединяя UI_DIRS_COMPONENTS с заданным путем.
* @param path component path/ путь компонента
*/
export function getComponentPaths(path: string): string[] {
return [...UI_DIRS_COMPONENTS, path]
}