npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

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.

install

npm i wintersmith-revision

Downloadsweekly downloads

17

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability