MCPcopy Create free account
hub / github.com/webpack/css-loader / Declaration

Function Declaration

src/plugins/postcss-url-parser.js:298–310  ·  view source on GitHub ↗
(declaration)

Source from the content-addressed store, hash-verified

296
297 return {
298 Declaration(declaration) {
299 const { isSupportDataURL, isSupportAbsoluteURL } = options;
300 const parsedURL = parseDeclaration(declaration, "value", result, {
301 isSupportDataURL,
302 isSupportAbsoluteURL,
303 });
304
305 if (!parsedURL) {
306 return;
307 }
308
309 parsedDeclarations.push(...parsedURL);
310 },
311 async OnceExit() {
312 if (parsedDeclarations.length === 0) {
313 return;

Callers

nothing calls this directly

Calls 1

parseDeclarationFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…