Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
13 lines
483 B
Plaintext
13 lines
483 B
Plaintext
import { createClassGroupUtils } from './class-group-utils'
|
|
import { createLruCache } from './lru-cache'
|
|
import { createParseClassName } from './parse-class-name'
|
|
import { GenericConfig } from './types'
|
|
|
|
export type ConfigUtils = ReturnType<typeof createConfigUtils>
|
|
|
|
export const createConfigUtils = (config: GenericConfig) => ({
|
|
cache: createLruCache<string, string>(config.cacheSize),
|
|
parseClassName: createParseClassName(config),
|
|
...createClassGroupUtils(config),
|
|
})
|