node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

lasso-autoprefixer

lasso-autoprefixer

This plugin for the Lasso.js will run your css through autoprefixer allowing you to write css without having to worry about vendor prefixes.

Installation

Install the plugin:

npm install lasso-autoprefixer --save

Enable the plugin:

require('lasso').configure({
    plugins: [
        {
            plugin: 'lasso-autoprefixer',
            config: {
                ... // See below for config options 
            }
        },
        ...
    ]
});

Plugin Configuration

This plugin uses Autoprefixer options;

Sample Configuration

require('lasso').configure({
    plugins: [
        {
            "plugin": "lasso-autoprefixer",
            "config": {
                "browsers": [
                    "Android >= 2.3",
                    "BlackBerry >= 7",
                    "Chrome >= 9",
                    "Firefox >= 4",
                    "Explorer >= 9",
                    "iOS >= 5",
                    "Opera >= 11",
                    "Safari >= 5",
                    "OperaMobile >= 11",
                    "OperaMini >= 6",
                    "ChromeAndroid >= 9",
                    "FirefoxAndroid >= 4",
                    "ExplorerMobile >= 9"
                ]
            }
        },
        ...
    ]
});