wintersmith-revision

1.0.0 • Public • Published

wintersmith-revision Build Status

A Wintersmith plugin to revise static files

Installation

Install globally or locally using npm:

npm install [-g] wintersmith-revision

Add 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.

Dependencies (2)

Dev Dependencies (2)

Package Sidebar

Install

npm i wintersmith-revision

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • xavierdutreilh