MCPcopy Index your code
hub / github.com/webpack/css-loader / isIgnoredPrevNode

Function isIgnoredPrevNode

src/plugins/postcss-import-parser.js:30–42  ·  view source on GitHub ↗
(atRule)

Source from the content-addressed store, hash-verified

28}
29
30function isIgnoredPrevNode(atRule) {
31 const prevNode = atRule.prev();
32
33 if (prevNode && prevNode.type === "comment") {
34 const matched = prevNode.text.match(WEBPACK_IGNORE_COMMENT_REGEXP);
35
36 if (matched && matched[2] === "true") {
37 return true;
38 }
39 }
40
41 return false;
42}
43
44function parseNode(atRule, key, options) {
45 // Convert only top-level @import

Callers 1

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