persona-community-5/.pnpm-store/v3/files/bd/41cd3da80a4d1315456abf3eb0aa8d1510870408e04b9925a7d0168650bd53bffb6c0b5be7fa005e8167f76bfdc193feb521f7be28a6764b3442c6b9aae994
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

13 lines
475 B
Plaintext

import { createClassGroupUtils } from './class-group-utils'
import { createLruCache } from './lru-cache'
import { createParseClassName } from './parse-class-name'
import { AnyConfig } from './types'
export type ConfigUtils = ReturnType<typeof createConfigUtils>
export const createConfigUtils = (config: AnyConfig) => ({
cache: createLruCache<string, string>(config.cacheSize),
parseClassName: createParseClassName(config),
...createClassGroupUtils(config),
})