Autoprefixer Stylus
An autoprefixer plugin for stylus.
Installation
You can install through npm as such: npm install autoprefixer-stylus
Usage
You can include autoprefixer-stylus as a normal stylus plugin. Basic example below:
const stylus = const autoprefixer =
This plugin also takes any of the options that autoprefixer normally takes. Example with overrideBrowswerslist
below:
By default, this plugin will display any warnings. You can disable this with the hideWarnings
option. Example below:
If you'd like to install globally and run from the command line, you can do it like this:
npm install -g autoprefixer-stylusstylus -u autoprefixer-stylus -c examplestyl