MCPcopy
hub / github.com/postcss/autoprefixer / plugin

Function plugin

test/postcss.test.js:8–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6
7test('works with other PostCSS plugins', () => {
8 let plugin = () => {
9 return {
10 AtRule: {
11 mixin: (atRule, { Declaration }) => {
12 atRule.replaceWith(
13 new Declaration({ prop: 'user-select', value: 'none' })
14 )
15 }
16 },
17 postcssPlugin: 'test',
18 Rule(rule) {
19 rule.selector = 'b'
20 }
21 }
22 }
23 plugin.postcss = true
24
25 let result = postcss([

Callers 1

postcss.test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…