UNPKG

@twstyled/util

Version:

Utilities, config and class helpers for twstyled -- the full-featured Tailwind CSS + CSS in JS Compiler

10 lines (9 loc) 473 B
import { ResolvedTailwindConfig } from '@xwind/core'; export declare function getTwConfigPath(relativePath?: string | undefined): string; export declare function getTwConfig(twConfigPath: string): ResolvedTailwindConfig; export declare function getTwConfigHash(twConfigPath: string): string; export declare function getTwConfigCache(twConfigPath: ReturnType<typeof getTwConfigPath>): { hash: string; isNewTwConfig: boolean; twConfig: ResolvedTailwindConfig; };