0.9.3 • Published 2 years ago
postinstall-css v0.9.3
postinstall-css
This is a postinstall command plugin.
It runs postcss
with these plugins (in that order):
- postcss-import (for inlining imports)
- postcss-url (for rebasing)
- postcss-flexbugs-fixes
- autoprefixer (for browsers compatibility)
- reporter
- cssnano (for minification)
Usage
The plugin can be called directly, or through postinstall
.
Directly:
require('postinstall-css')(inputs, output, options).then(function() {
// done
});
Options
- browsers: a string, environment for Browserslist
- minify: pass
minify: false
to disable minification.
Caveats
Support for source maps is not yet available.
0.9.3
2 years ago
0.9.2
2 years ago
0.9.0
2 years ago
0.9.1
2 years ago
0.7.2
4 years ago
0.7.1-1
4 years ago
0.7.1
4 years ago
0.7.0
4 years ago
0.6.1
5 years ago
0.6.0
6 years ago
0.5.1
6 years ago
0.5.0
6 years ago
0.4.1-2
6 years ago
0.4.1-1
6 years ago
0.4.1
6 years ago
0.4.0
7 years ago
0.3.0
7 years ago
0.2.2
7 years ago
0.2.1
7 years ago
0.2.0
7 years ago
0.1.0
7 years ago