fingerprint-brunch
Advanced tools
Comparing version 1.1.3 to 1.2.0
{ | ||
"name": "fingerprint-brunch", | ||
"version": "1.1.3", | ||
"version": "1.2.0", | ||
"description": "A Brunch plugin for cache busting assets", | ||
@@ -5,0 +5,0 @@ "author": "David Lepaux <d.lepaux@gmail.com>", |
@@ -9,3 +9,2 @@ # fingerprint-brunch [![Build Status][travis-badge]][travis] | ||
- [Testing](#testing) | ||
- [ToDo](#todo) | ||
- [License](#license) | ||
@@ -48,2 +47,10 @@ | ||
alwaysRun: false | ||
# autoReplaceAndHash assets in css/js, like a font linked in an url() in your css | ||
autoReplaceAndHash: false | ||
# Assets pattern | ||
assetsPatterns: new RegExp(/url\([\'\"]?[a-zA-Z0-9\-\/_.:]+\.(woff|woff2|eot|ttf|otf|jpg|jpeg|png|bmp|gif|svg)\??\#?[a-zA-Z0-9\-\/_]*[\'\"]?\)/g) | ||
# URL parameters pattern | ||
paramettersPattern: new RegExp(/(\?|\&)([^=\n]+)\=([^&\n]+)/gm) | ||
``` | ||
@@ -75,7 +82,3 @@ | ||
## <a name="todo"></a> ToDo | ||
- Add a rewriter/replacer of file path in css (for images, fonts..) | ||
## <a name="license"></a> License | ||
@@ -82,0 +85,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
82890
13
13
88