-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow outputting correct formatting with media queries #290
Comments
Yeah, if this doesn't require a huge amount of changes (or really hurt performance), PR welcome. I'm personally not motivated to fix this since I always run the output through a minifier anyhow. |
Since #483; this also applies to |
We've had similar requests for nested css transforms and decided not to implement any kind of formatting. Formatting is best left up to linters. Any attempt to resolve this here would end up re-implementing a full blown linter with all the user preferences. (tabs vs. spaces, where to start newlines, ...) |
@nwmcsween You can add a pretty printer plugin later in your PostCSS plugins config. This seems to do exactly what you want : https://www.npmjs.com/package/postcss-prettify |
Yeah, I'm going to close this as out of scope. |
Example:
importfile.css:
somefile.css:
Output:
Desired output:
The text was updated successfully, but these errors were encountered: