@sparkbox/cachebust
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -32,2 +32,5 @@ const finger = require('fingerprinting'); | ||
// Sort the files and then reverse the order. | ||
sourceFiles.sort().reverse(); // Fixes issue #5 | ||
for (let file of sourceFiles) { | ||
@@ -34,0 +37,0 @@ const fileName = path.parse(file).name; |
{ | ||
"name": "@sparkbox/cachebust", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "A simple cache buster", | ||
@@ -5,0 +5,0 @@ "bin": { |
@@ -26,2 +26,4 @@ # cachebust | ||
**Update**: [Globbing](https://github.com/sindresorhus/globby) is allowed for `target` files. So `"target": ["path/to/target/**/*.html"]` is allowed. | ||
### Package.json | ||
@@ -49,4 +51,2 @@ | ||
**Update**: [Globbing](https://github.com/sindresorhus/globby) is allowed for `target` files. So `"target": ["path/to/target/**/*.html"]` is allowed. | ||
Also you may create a config file in the root of the project directory called `.cachebust.config` | ||
@@ -53,0 +53,0 @@ |
7980
147