MCPcopy
hub / github.com/postcss/postcss / createPlugin

Function createPlugin

test/visitor.test.ts:227–231  ·  view source on GitHub ↗
(creator: () => Plugin)

Source from the content-addressed store, hash-verified

225}
226
227function createPlugin(creator: () => Plugin): PluginCreator<void> {
228 let result = creator as PluginCreator<void>
229 result.postcss = true
230 return result
231}
232
233let postcssAlias = createPlugin(() => {
234 let aliases: any = {}

Callers 1

visitor.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…