neutrino-preset-postcss-autoprefixer
v5.0.7
Published
Neutrino preset for supporting postcss autoprefixer
Maintainers
Readme
neutrino-preset-postcss-autoprefixer
Requirements
- Installed
neutrinoversion 5+
Installing
npm install -D neutrino-preset-postcss-autoprefixerWhat 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 <---
]
}
...
}
browserlistyou may set maintained browsers
