broccoli-asset-rev
Advanced tools
Comparing version 0.0.15 to 0.0.16
@@ -93,3 +93,8 @@ var fs = require('fs'); | ||
var assets = { assets: assetMap, files: files }; | ||
fs.writeFileSync(destDir + '/assets/manifest.json', JSON.stringify(assets)); | ||
var contents = JSON.stringify(assets); | ||
var hash = ''; | ||
var md5 = crypto.createHash('md5'); | ||
md5.update(contents); | ||
hash = md5.digest('hex'); | ||
fs.writeFileSync(destDir + '/assets/manifest-' + hash + '.json', contents); | ||
}; | ||
@@ -96,0 +101,0 @@ |
{ | ||
"name": "broccoli-asset-rev", | ||
"version": "0.0.15", | ||
"version": "0.0.16", | ||
"description": "broccoli asset revisions (fingerprint)", | ||
@@ -5,0 +5,0 @@ "main": "lib/asset-rev.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
8733
146