ifdef-loader
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -8,3 +8,7 @@ "use strict"; | ||
var query = queryString.parse(url.parse(this.query).query); | ||
var verbose = query["ifdef-verbose"]; | ||
var verboseFlag = "ifdef-verbose"; | ||
var verbose = query[verboseFlag]; | ||
if (verbose) { | ||
delete query[verboseFlag]; | ||
} | ||
try { | ||
@@ -11,0 +15,0 @@ source = preprocessor_1.parse(source, query, verbose); |
@@ -11,3 +11,7 @@ import path = require('path'); | ||
const verbose = query["ifdef-verbose"]; | ||
const verboseFlag = "ifdef-verbose" | ||
const verbose = query[verboseFlag]; | ||
if(verbose) { | ||
delete query[verboseFlag]; | ||
} | ||
@@ -14,0 +18,0 @@ try |
{ | ||
"name": "ifdef-loader", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "#ifdef conditional Webpack loader", | ||
@@ -5,0 +5,0 @@ "main": "ifdef-loader.js", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
15494
475
0