SassNinja / postcss-extract-media-query

PostCSS plugin to extract all media query from CSS and emit as separate files.
MIT License
130 stars 20 forks source link

Adding support for multiple css entry files #41

Open jeffpreussner opened 11 months ago

jeffpreussner commented 11 months ago

Currently the plugin combines media queries together across multiple files. Styles from file-a.css are combined with styles from file-b.css where file-b-desktop.css would have both files breakpoints which is not ideal when loading css dynamically. I have added name to the media object to prevent this.

SassNinja commented 11 months ago

@jeffpreussner thanks for your contribution

However there are many changes in this PR which are not related to the actual change. Please revert that and don't change the format.

jeffpreussner commented 9 months ago

@SassNinja all set.

jeffpreussner commented 8 months ago

@jeffpreussner thanks for your contribution

However there are many changes in this PR which are not related to the actual change. Please revert that and don't change the format.

@SassNinja anything else need to be done here?