assets-webpack-plugin
Advanced tools
Comparing version 3.9.5-alpha.1 to 3.9.5-alpha.2
@@ -83,3 +83,3 @@ 'use strict'; | ||
var combinedPath = assetPath && assetPath.slice(-1) !== '/' ? assetPath + '/' + asset : assetPath + asset; | ||
var type = typeMap ? _typeof(typeMap[typeName]) : 'undefined'; | ||
var type = _typeof(typeMap[typeName]); | ||
if (type === 'undefined') { | ||
@@ -96,4 +96,4 @@ typeMap[typeName] = combinedPath; | ||
seenAssets[asset] = true; | ||
return typeMap; | ||
} | ||
return typeMap; | ||
}, {}); | ||
@@ -100,0 +100,0 @@ |
@@ -80,3 +80,3 @@ var fs = require('fs') | ||
var combinedPath = assetPath && assetPath.slice(-1) !== '/' ? `${assetPath}/${asset}` : assetPath + asset | ||
var type = typeMap ? typeof typeMap[typeName] : 'undefined' | ||
var type = typeof typeMap[typeName] | ||
if (type === 'undefined') { | ||
@@ -93,4 +93,4 @@ typeMap[typeName] = combinedPath | ||
seenAssets[asset] = true | ||
return typeMap | ||
} | ||
return typeMap | ||
}, {}) | ||
@@ -97,0 +97,0 @@ |
{ | ||
"name": "assets-webpack-plugin", | ||
"version": "3.9.5-alpha.1", | ||
"version": "3.9.5-alpha.2", | ||
"description": "Emits a json file with assets paths", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
37545