(atRule)
| 28 | } |
| 29 | |
| 30 | function 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 | |
| 44 | function parseNode(atRule, key, options) { |
| 45 | // Convert only top-level @import |
no outgoing calls
no test coverage detected
searching dependent graphs…