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

Function getNodeFromUrlFunc

src/plugins/postcss-url-parser.js:15–17  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

13const needParseDeclaration = /(?:url|(?:-webkit-)?image-set)\(/i;
14
15function getNodeFromUrlFunc(node) {
16 return node.nodes && node.nodes[0];
17}
18
19function getWebpackIgnoreCommentValue(index, nodes, inBetween) {
20 if (index === 0 && typeof inBetween !== "undefined") {

Callers 1

parseDeclarationFunction · 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…