Autoprefixer plugin for Metalsmith
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
.travis.yml add tests for 0.12 Jun 26, 2015
History.md
Readme.md
package.json

Readme.md

metalsmith-autoprefixer

Build Status Dependencies

An Autoprefixer plugin for Metalsmith.

Installation

npm install --save metalsmith-autoprefixer

Getting Started

If you haven't checked out Metalsmith before, head over to their website and check out the documentation.

In order to use this plugin, you need to include the autoprefixer module in your package.json file:

{
  ...
  "dependencies": {
    ...
    "autoprefixer": "*"
  }
  
}

CLI Usage

If you are using the command-line version of Metalsmith, you can install via npm, and then add the metalsmith-autoprefixer key to your metalsmith.json file:

{
  "plugins": {
    "metalsmith-autoprefixer": {}
  }
}

JavaScript API

If you are using the JS Api for Metalsmith, then you can require the module and add it to your .use() directives:

var autoprefixer = require('metalsmith-autoprefixer');

metalsmith.use(autoprefixer());

Options

None yet