Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mimosa-autoprefixer

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mimosa-autoprefixer

An autoprefixer module for Mimosa

  • 0.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 01 Mar 2015

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

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc