Skip to content

valpackett/broccoli-static-asset-rev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

broccoli-static-asset-rev npm version npm downloads Dependency Status Unlicense

A module that provides broccoli-statically (:D) updated file hashes for cache busting, using readdirp.

Related: dynamic-asset-rev.

Installation

$ npm install --save broccoli-static-asset-rev

Usage

const AssetRev = require('broccoli-static-asset-rev')

const rev = new AssetRev(someNode) // Will be a tree with assets.json containing the hashes

Contributing

Please feel free to submit pull requests!

By participating in this project you agree to follow the Contributor Code of Conduct.

License

This is free and unencumbered software released into the public domain.
For more information, please refer to the UNLICENSE file or unlicense.org.