asset-pipe / asset-pipe-css-reader

A module that takes any number of css feed streams (provided by asset-pipe sinks) and bundles them into a readable stream of css content.
Other
0 stars 0 forks source link

feat: Add `minify` option like js-reader #35

Closed stipsan closed 5 years ago

stipsan commented 5 years ago

This PR implements cssnano when minify is true, mirroring the js-reader API.

Autoprefixer is added as a layer similar to core-js to ensure both that older browsers aren't left behind because a prefix were forgotten about, nor that modern browsers pay for old legacy CSS full of vendor prefixes that isn't needed anymore at all. Because of that it's not toggled by the minify option, as that option does not change the behavior of the CSS, only the amount of CSS over the wire.

digitalsadhu commented 5 years ago

:tada: This PR is included in version 1.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: