MCPcopy
hub / github.com/sonofmagic/weapp-tailwindcss / transformWxml

Function transformWxml

packages/weapp-tailwindcss/src/core.ts:212–220  ·  view source on GitHub ↗
(rawWxml: string, options?: ITemplateHandlerOptions)

Source from the content-addressed store, hash-verified

210 }
211
212 async function transformWxml(rawWxml: string, options?: ITemplateHandlerOptions) {
213 await runtimeState.readyPromise
214 if (!options?.runtimeSet && runtimeSet.size === 0) {
215 runtimeSet = await ensureRuntimeClassSet(runtimeState, {
216 forceCollect: true,
217 })
218 }
219 return templateHandler(rawWxml, resolveTransformWxmlOptions(options))
220 }
221
222 return {
223 getRuntimeSet,

Callers 3

matchSnapFunction · 0.50
copyTemplatesFunction · 0.50
copyWXMLFunction · 0.50

Calls 2

ensureRuntimeClassSetFunction · 0.90

Tested by 1

matchSnapFunction · 0.40