Socket
Socket
Sign inDemoInstall

mimosa-autoprefixer

Package Overview
Dependencies
26
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    mimosa-autoprefixer

An autoprefixer module for Mimosa


Version published
Weekly downloads
2
Maintainers
1
Install size
18.8 MB
Created
Weekly downloads
 

Readme

Source

mimosa-autoprefixer

Overview

This is a CSS autoprefixing module for the Mimosa build tool. It will transform your CSS code to have the necessary/configured vendor prefixes.

For more information regarding autoprefixer, see https://github.com/ai/autoprefixer.

For more information regarding Mimosa, see http://mimosa.io.

Usage

Add 'autoprefixer' to your list of modules. That's all! Mimosa will install the module for you when you start mimosa watch or mimosa build.

Functionality

Autoprefixer lets you write your CSS rules without needing to consider vendor prefixes.

This module will run autoprefixer over your CSS during mimosa watch and mimosa build. It will rewrite the CSS to include the selected vendor prefixes. It will create a source map for the altered CSS. If the incoming CSS had an inline source map, autoprefixer will rebuild that map.

Default Config

autoprefixer: {
  browsers:[ "> 1%", "last 2 versions", "Firefox ESR", "Opera 12.1" ],
  map: true,
  cascade: true
}
  • browsers: list of browsers to use, see the info on browsers on the autoprefixer github. The default here is the autoprefixer default.
  • map: whether or not to create inline maps, maps and source are always inlined
  • cascade: make output look like this
a {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box
}

Keywords

FAQs

Last updated on 01 Mar 2015

Did you know?

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc