Socket
Book a DemoInstallSign in
Socket

lasso-autoprefixer

Package Overview
Dependencies
Maintainers
5
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lasso-autoprefixer

Autoprefixer plugin for Lasso.js using postcss & autoprefixer

4.0.0
latest
Source
npmnpm
Version published
Weekly downloads
11
1000%
Maintainers
5
Weekly downloads
 
Created
Source

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] (https://github.com/postcss/autoprefixer#browsers), 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"
                ]
            }
        },
        ...
    ]
});

Keywords

lasso

FAQs

Package last updated on 11 Jun 2019

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.