Skip to content

Conversation

@stol
Copy link

@stol stol commented Feb 3, 2014

Hi, you can now choose to output the grouped media queries in different files, on file per media query.

ex :

$ group-css-media-queries -s myApp.css 
$ # outputs :
$ # Creating app-splitted/app-root.css
$ # Creating app-splitted/app-only-screen-and-(max-width-480px).css
$ # Creating app-splitted/app-only-screen-and-(min-width-481px)-and-(max-width-768px).css


$ group-css-media-queries -s myApp.css -d customDir
$ # outputs :
$ # Creating customDir/app-root.css
$ # Creating customDir/app-only-screen-and-(max-width-480px).css
$ # Creating customDir/app-only-screen-and-(min-width-481px)-and-(max-width-768px).css

index.coffee Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whole block in ELSE statement can be replaced with
[rootRules].concat mediaRules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants