0.9.3 • Published 7 months ago

postinstall-css v0.9.3

Weekly downloads
6
License
MIT
Repository
github
Last release
7 months ago

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

7 months ago

0.9.2

11 months ago

0.9.0

1 year ago

0.9.1

1 year ago

0.7.2

3 years ago

0.7.1-1

3 years ago

0.7.1

3 years ago

0.7.0

3 years ago

0.6.1

4 years ago

0.6.0

5 years ago

0.5.1

5 years ago

0.5.0

5 years ago

0.4.1-2

5 years ago

0.4.1-1

5 years ago

0.4.1

5 years ago

0.4.0

6 years ago

0.3.0

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago