file-plus-loader
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -10,3 +10,3 @@ /* | ||
var queryPlus = this.options.module.loaders.filter(function(v) { | ||
return v.loader === 'file-plus-loader'; | ||
return v.loader === 'file-plus'; | ||
})[0].query; | ||
@@ -19,3 +19,3 @@ var url = loaderUtils.interpolateName(this, queryPlus.name || '[hash].[ext]', { | ||
if (queryPlus.map) { | ||
url = queryPlus.map(url); | ||
url = queryPlus.map(url, this.resourcePath); | ||
} | ||
@@ -22,0 +22,0 @@ this.emitFile(url, content); |
{ | ||
"name": "file-plus-loader", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"author": "pillys@163.com", | ||
@@ -5,0 +5,0 @@ "description": "file plus loader for webpack", |
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
3055