MCPcopy Create free account
hub / github.com/webpack/stylus-loader / plugin

Function plugin

test/loader.test.js:115–119  ·  view source on GitHub ↗

* @returns {(style: EXPECTED_ANY) => void} stylus plugin

()

Source from the content-addressed store, hash-verified

113 * @returns {(style: EXPECTED_ANY) => void} stylus plugin
114 */
115 function plugin() {
116 return (style) => {
117 style.define("add", (a, b) => a.operate("+", b));
118 };
119 }
120
121 const testId = "./webpack.config-plugin.styl";
122 const compiler = getCompiler(testId, {

Callers 2

loader.test.jsFile · 0.85
getStylusOptionsFunction · 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…