MCPcopy Index your code
hub / github.com/sonofmagic/weapp-tailwindcss / parseConfigParam

Function parseConfigParam

packages/postcss/src/source-scan.ts:149–153  ·  view source on GitHub ↗
(params: string)

Source from the content-addressed store, hash-verified

147}
148
149export function parseConfigParam(params: string) {
150 const value = params.trim()
151 const match = /^(['"])(.+)\1$/.exec(value)
152 return match?.[2]
153}
154
155function isLegacyContentObject(value: unknown): value is LegacyContentObject {
156 return typeof value === 'object' && value !== null && 'files' in value

Callers 3

collectConfigPathsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected