Files
react-native-devtools-frontend/node_modules/postcss-minify-params
Jack Franklin a5fd0a412d Add cssnano
The CSS minifier we currently use (clean-css) is not maintained and
lacks support for new CSS features. CSSNano is a replacement that
supports features we need (primarily container queries).

This CL only adds the relevant dependencies, and does not use it. I will
do that (and remove clean-css) in a follow-up.

Bug: 1399763
Change-Id: I899ecc4482164404dd5ac2fd13f92fb797978e29
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4092305
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>
Commit-Queue: Alex Rudenko <alexrudenko@chromium.org>
Auto-Submit: Jack Franklin <jacktfranklin@chromium.org>
2022-12-09 12:08:23 +00:00
..
2022-12-09 12:08:23 +00:00
2022-12-09 12:08:23 +00:00
2022-12-09 12:08:23 +00:00
2022-12-09 12:08:23 +00:00
2022-12-09 12:08:23 +00:00

postcss-minify-params Build Status

Minify at-rule params with PostCSS.

@media only screen   and ( min-width: 400px, min-height: 500px ) {
    h2{
        color:blue
    }
}
@media only screen and (min-width:400px,min-height:500px) {
    h2{
        color:blue
    }
}

Usage

postcss([ require('postcss-minify-params') ])

See PostCSS docs for examples for your environment.

Contributors

See CONTRIBUTORS.md.

License

MIT © Bogdan Chadkin