broccoli-asset-rewrite
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -124,4 +124,4 @@ var Filter = require('broccoli-filter'); | ||
var pathDiff = relative(relativePath, key); | ||
var replacementDiff = relative(relativePath, this.assetMap[key]); | ||
var pathDiff = relative(relativePath, key).replace(/^\.\//, ""); | ||
var replacementDiff = relative(relativePath, this.assetMap[key]).replace(/^\.\//, ""); | ||
@@ -128,0 +128,0 @@ if (this.prepend && this.prepend !== '') { |
{ | ||
"name": "broccoli-asset-rewrite", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "broccoli plugin to rewrite a source tree from an asset map.", | ||
@@ -28,3 +28,3 @@ "main": "index.js", | ||
"broccoli-filter": "^0.1.10", | ||
"relative": "^1.0.1" | ||
"relative": "^1.2.0" | ||
}, | ||
@@ -31,0 +31,0 @@ "devDependencies": { |
@@ -79,3 +79,4 @@ var fs = require('fs'); | ||
'images/sample.png': 'images/fingerprinted-sample.png', | ||
'assets/images/foobar.png': 'assets/images/foobar-fingerprint.png' | ||
'assets/images/foobar.png': 'assets/images/foobar-fingerprint.png', | ||
'assets/images/baz.png': 'assets/images/baz-fingerprint.png' | ||
} | ||
@@ -82,0 +83,0 @@ }); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
18915
316
Updatedrelative@^1.2.0