mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-04 23:20:07 +00:00
* knip: Don't ignore exports that are only used within a given file * knip: More pruning after rebase * knip: Vite plugin config fix * knip: vitest plugin config * knip: Playwright config, remove unnecessary ignores. * knip: Simplify project file enumeration. * knip: simplify the config file patterns ?(.optional_segment) * knip: tailwind v4 fix * knip: A little more, explain some of the deps. Should be good for this PR. * knip: remove unused disabling of classMembers. It's opt-in, which we should probably do. * knip: floating comments We should probably delete _one_ of these parallell trees, right? * knip: Add additional entrypoints * knip: Restore UserData that's exposed via the types for now. * knip: Add as an entry file even though knip says it's not necessary. * knip: re-export functions used by nodes (h/t @christian-byrne)
9 lines
204 B
TypeScript
9 lines
204 B
TypeScript
import clsx, { type ClassArray } from 'clsx'
|
|
import { twMerge } from 'tailwind-merge'
|
|
|
|
export type { ClassValue } from 'clsx'
|
|
|
|
export function cn(...inputs: ClassArray) {
|
|
return twMerge(clsx(inputs))
|
|
}
|