1.0.0 • Published 8 years ago
wintersmith-revision v1.0.0
wintersmith-revision 
A Wintersmith plugin to revise static files
Installation
Install globally or locally using npm:
npm install [-g] wintersmith-revisionAdd wintersmith-revision to your config.json:
{
"plugins": [
"wintersmith-revision"
]
}Usage
wintersmith-revision extracts all static files from the content tree and revise them. If you only want to revise some of them, you need to define the revision property in your config.json and specify the list of files to revise:
{
"revision": [
"static/styles/sample.css",
"static/scripts/**/*.js"
]
}Please note that wintersmith-revision relies on minimatch to match filenames with specified patterns. So, any pattern supported by minimatch is also supported by wintersmith-revision.
License
wintersmith-revision is released under the MIT license.