webpack-core
Advanced tools
Comparing version 0.2.8 to 0.2.9
@@ -0,0 +0,0 @@ /* |
@@ -53,2 +53,7 @@ /* | ||
return this.list.filter(this.matchObject.bind(this, str)).map(function(element) { | ||
if(element.query) { | ||
if(!element.loader || element.loader.indexOf("!") >= 0) throw new Error("Cannot define 'query' and multiple loaders in loaders list"); | ||
if(typeof element.query === "string") return element.loader + "?" + element.query; | ||
return element.loader + "?" + JSON.stringify(element.query); | ||
} | ||
if(element.loader) return element.loader.split("!"); | ||
@@ -55,0 +60,0 @@ if(element.loaders) return element.loaders; |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
{ | ||
"name": "webpack-core", | ||
"version": "0.2.8", | ||
"version": "0.2.9", | ||
"author": "Tobias Koppers @sokra", | ||
@@ -5,0 +5,0 @@ "description": "The core of webpack and enhanced-require.", |
@@ -0,0 +0,0 @@ # webpack-core |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27023
802