csstools / postcss-normalize

Use the parts of normalize.css (or sanitize.css) you need from your browserslist
Creative Commons Zero v1.0 Universal
816 stars 40 forks source link

Support for multi CSS files would be useful e.g. when use multiple CSS chunks #20

Closed swernerx closed 7 years ago

swernerx commented 7 years ago

I'd like to leave a feature request for supporting an option which only inserts when the algorithm find the @import-normalize; inside the file. Reason for this: In our current setup we process multiple CSS files with one common setup from inside a complex Webpack configuration. When using this plugin right now it appends the whole "matched" normalize rules to each individual output stylesheet which adds some duplication to our bundles.

jonathantneal commented 7 years ago

Done via v4.0.0. Published!

swernerx commented 7 years ago

Perfect!

swernerx commented 7 years ago

Added to: https://github.com/sebastian-software/edge-postcss/releases/tag/0.6.0