fingerprint-brunch
Advanced tools
Comparing version 2.0.5 to 2.0.6
@@ -0,0 +0,0 @@ #!/usr/bin/env node |
@@ -0,0 +0,0 @@ # CHANGELOG |
Pull requests are welcome. If you add functionality, then please add unit tests to cover it. |
@@ -0,0 +0,0 @@ MIT License |
{ | ||
"name": "fingerprint-brunch", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"description": "A Brunch JS plugin for cache busting assets", | ||
@@ -24,5 +24,5 @@ "author": "David Lepaux <d.lepaux@gmail.com>", | ||
"dependencies": { | ||
"@babel/parser": "^7.0.0-beta.48", | ||
"@babel/parser": "^7.1.3", | ||
"crypto-js": "^3.1.9-1", | ||
"fs-extra": "~6.0.0" | ||
"fs-extra": "~7.0.0" | ||
}, | ||
@@ -37,5 +37,5 @@ "devDependencies": { | ||
"mocha-lcov-reporter": "^1.3.0", | ||
"nyc": "^12.0.1" | ||
"nyc": "^13.2.0" | ||
}, | ||
"license": "MIT" | ||
} |
@@ -27,2 +27,4 @@ # fingerprint-brunch [![Greenkeeper badge](https://badges.greenkeeper.io/dlepaux/fingerprint-brunch.svg)](https://greenkeeper.io/) [![Build Status](https://travis-ci.org/dlepaux/fingerprint-brunch.svg?branch=master)](https://travis-ci.org/dlepaux/fingerprint-brunch) [![Coverage Status](https://coveralls.io/repos/github/dlepaux/fingerprint-brunch/badge.svg?branch=master)](https://coveralls.io/github/dlepaux/fingerprint-brunch?branch=master) [![Join the chat at https://gitter.im/dlepaux/fingerprint-brunch](https://badges.gitter.im/dlepaux/fingerprint-brunch.svg)](https://gitter.im/dlepaux/fingerprint-brunch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
You can find [here](https://github.com/dlepaux/fingerprint-brunch-example) a working setup with fingerprint-brunch | ||
### Configuration | ||
@@ -34,3 +36,3 @@ | ||
- Mapping fingerprinted files | ||
* __srcBasePath__: _(`String`)_ Defaults to `exemple/` | ||
* __srcBasePath__: _(`String`)_ Defaults to `example/` | ||
- The base Path you want to remove from the `key` string in the mapping file | ||
@@ -37,0 +39,0 @@ * __destBasePath__: _(`String`)_ Defaults to `out/` |
@@ -73,3 +73,3 @@ "use strict"; | ||
const onCompileEnded = (err, filePath) => { | ||
if (that.options.foldersToFingerprint) { | ||
if (that.options.foldersToFingerprint && that._isFingerprintable()) { | ||
let callee = '_fingerprintDirs'; | ||
@@ -82,3 +82,3 @@ if (typeof(that.options.foldersToFingerprint) == 'string') callee = '_fingerprintDir'; | ||
}) | ||
} else if (that.options.assetsToFingerprint) { | ||
} else if (that.options.assetsToFingerprint && that._isFingerprintable()) { | ||
return that._fingerprintAllResolver(that.options.assetsToFingerprint, (resolve) => resolve(), () => { | ||
@@ -85,0 +85,0 @@ that._writeManifestAsync(() => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
141
32806
+ Addedfs-extra@7.0.1(transitive)
- Removedfs-extra@6.0.1(transitive)
Updated@babel/parser@^7.1.3
Updatedfs-extra@~7.0.0