Socket
Book a DemoInstallSign in
Socket

taskr-autoprefixer

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

taskr-autoprefixer

PostCSS Autoprefixer plugin for Taskr

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

taskr-autoprefixer TravisCI npm

PostCSS Autoprefixer plugin for Taskr.

This is a merely convenience layer for PostCSS + Autoprefixer.

You may elect to use @taskr/postcss and require('autoprefixer') instead. In fact, you probably should if you're using other PostCSS plugins!

Install

npm install --save-dev taskr-autoprefixer

Usage

exports.default = function * (task) {
  yield task.source('src/**/*.sass')
    .sass()
    .autoprefixer({
      browsers: ['last 5 versions']
    })
    .target('dist/css');
}

Note: If using a CSS preprocessing tool (eg: SASS, Stylus, LESS), autoprefixer() must be invoked after the CSS has been compiled.

API

.autoprefixer(options)

This plugin does not have any custom options. Please visit autoprefixer options for a full list of available options.

License

MIT © Luke Edwards

Keywords

taskr

FAQs

Package last updated on 19 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts