ifdef-loader
Advanced tools
Comparing version 2.2.0 to 2.2.1
{ | ||
"name": "ifdef-loader", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "ifdef-loader.js", |
@@ -143,3 +143,3 @@ "use strict"; | ||
if (verbose) { | ||
console.log("#if block lines [" + (ifBlock.line_if + 1) + "-" + (ifBlock.line_endif + 1) + "]: Condition '" + condition + "' is " + (outcome ? 'TRUE' : 'FALSE') + ". " + (includeRange != null ? "Including lines [" + (includeRange[0] + 1) + "-" + (includeRange[1] + 1) + "]" : 'Excluding everything') + " (" + filePath + ")"); | ||
console.log("#if block lines [" + (ifBlock.line_if + 1) + "-" + (ifBlock.line_endif + 1) + "]: Condition '" + condition + "' is " + (outcome ? 'TRUE' : 'FALSE') + ". " + (includeRange != null ? "Including lines [" + (includeRange.from + 1) + "-" + (includeRange.to + 1) + "]" : 'Excluding everything') + " (" + filePath + ")"); | ||
} | ||
@@ -146,0 +146,0 @@ }; |
@@ -168,3 +168,3 @@ import { OptionObject } from 'loader-utils'; | ||
if(verbose) { | ||
console.log(`#if block lines [${ifBlock.line_if + 1}-${ifBlock.line_endif + 1}]: Condition '${condition}' is ${outcome ? 'TRUE' : 'FALSE'}. ${includeRange != null ? `Including lines [${includeRange[0] + 1}-${includeRange[1] + 1}]` : 'Excluding everything'} (${filePath})`); | ||
console.log(`#if block lines [${ifBlock.line_if + 1}-${ifBlock.line_endif + 1}]: Condition '${condition}' is ${outcome ? 'TRUE' : 'FALSE'}. ${includeRange != null ? `Including lines [${includeRange.from + 1}-${includeRange.to + 1}]` : 'Excluding everything'} (${filePath})`); | ||
} | ||
@@ -171,0 +171,0 @@ }; |
26251