4.0.0 • Published 5 years ago

lasso-autoprefixer v4.0.0

Weekly downloads
12
License
MIT
Repository
github
Last release
5 years ago

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

It is recommended to use config that is shareable between all tools, but config can also be passed directly if needed. See 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"
                ]
            }
        },
        ...
    ]
});
4.0.0

5 years ago

3.1.0

5 years ago

3.0.0

6 years ago

2.0.0

8 years ago

1.0.3

9 years ago