neutrino-preset-postcss-autoprefixer

5.0.7 • Public • Published

neutrino-preset-postcss-autoprefixer

neutrino npm

Requirements

  • Installed neutrino version 5+

Installing

npm install -D neutrino-preset-postcss-autoprefixer

What is it?

Neutrino preset for supporting postcss autoprefixer

Input:

  display: flex;
  flex-direction: column;

Output:

  display: -ms-flexbox;/* added <--- */
  display: flex;
  -ms-flex-direction: column;/* added <--- */
  flex-direction: column;/* added <--- */

How to use?

Use it is very simple. Just to add neutrino-preset-postcss-autoprefixer after your main neutrino-preset-(web|react|node|etc.)

// package.json
{
  ...
  "browserslist": [
    "> 5%",
    "last 4 versions"
  ],
  "neutrino": {
    "use": [
      "neutrino-preset-web",
      "neutrino-preset-postcss-autoprefixer" // here <---
    ]
  }
  ...
}

browserlist you may set maintained browsers

Other my presets:

Package Sidebar

Install

npm i neutrino-preset-postcss-autoprefixer

Weekly Downloads

0

Version

5.0.7

License

GPL-3.0

Unpacked Size

10.5 kB

Total Files

4

Last publish

Collaborators

  • sbovyrin