broccoli-asset-rev
Advanced tools
Comparing version 1.1.1 to 2.0.0
@@ -11,3 +11,3 @@ var path = require('path'); | ||
exclude: [], | ||
extensions: ['js', 'css', 'png', 'jpg', 'gif'], | ||
extensions: ['js', 'css', 'png', 'jpg', 'gif', 'map'], | ||
prepend: '', | ||
@@ -14,0 +14,0 @@ replaceExtensions: ['html', 'css', 'js'] |
@@ -14,4 +14,4 @@ var Fingerprint = require('./fingerprint'); | ||
this.customHash = options.customHash; | ||
this.extensions = options.extensions || ['js', 'css', 'png']; | ||
this.replaceExtensions = options.replaceExtensions || ['html', 'css']; | ||
this.extensions = options.extensions || ['js', 'css', 'png', 'jpg', 'gif', 'map']; | ||
this.replaceExtensions = options.replaceExtensions || ['html', 'css', 'js']; | ||
this.exclude = options.exclude || []; | ||
@@ -18,0 +18,0 @@ this.generateAssetMap = options.generateAssetMap; |
{ | ||
"name": "broccoli-asset-rev", | ||
"version": "1.1.1", | ||
"version": "2.0.0", | ||
"description": "broccoli asset revisions (fingerprint)", | ||
@@ -30,3 +30,3 @@ "main": "lib/asset-rev.js", | ||
"dependencies": { | ||
"broccoli-asset-rewrite": "^1.0.1", | ||
"broccoli-asset-rewrite": "^1.0.2", | ||
"broccoli-filter": "~0.1.6", | ||
@@ -33,0 +33,0 @@ "rsvp": "~3.0.6" |
@@ -40,5 +40,5 @@ #broccoli-asset-rev | ||
- `extensions` - Default: `['js', 'css', 'png']` - The file types to add md5 checksums. | ||
- `extensions` - Default: `['js', 'css', 'png', 'jpg', 'gif', 'map']` - The file types to add md5 checksums. | ||
- `exclude` - Default: `[]` - An array of strings. If a filename contains any item in the exclude array, it will not be fingerprinted. | ||
- `replaceExtensions` - Default: `['html', 'css']` - The file types to replace source code with new checksum file names. | ||
- `replaceExtensions` - Default: `['html', 'css', 'js']` - The file types to replace source code with new checksum file names. | ||
- `prepend` - Default: `''` - A string to prepend to all of the assets. Useful for CDN urls like `https://subdomain.cloudfront.net/` | ||
@@ -63,4 +63,4 @@ - `generateRailsManifest` - Default: none - If true, will generate a `manifest.json` to be used by Sprockets for the Rails Asset Pipeline | ||
- `exclude` - Default: `[]` - An array of strings. If a filename contains any item in the exclude array, it will not be fingerprinted. | ||
- `extensions` - Default: `['js', 'css', 'png', 'jpg', 'gif']` - The file types to add md5 checksums. | ||
- `extensions` - Default: `['js', 'css', 'png', 'jpg', 'gif', 'map']` - The file types to add md5 checksums. | ||
- `prepend` - Default: `''` - A string to prepend to all of the assets. Useful for CDN urls like `https://subdomain.cloudfront.net/` | ||
- `replaceExtensions` - Default: `['html', 'css', 'js']` - The file types to replace source code with new checksum file names. |
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
41358