R
R
Roman Lankin2017-08-15 07:14:06
css
Roman Lankin, 2017-08-15 07:14:06

Is there a compiler for media conditions aggregation?

The css describes the blocks of the site sequentially, indicating the media conditions after each block.
Is there a compiler that will analyze the code to see if it is safe to move all media conditions from blocks with the same condition in media to one media condition below that includes all blocks? (for css minification).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey_Bazhanov, 2017-08-15
@Andrey_Bazhanov

yes: https://www.npmjs.com/package/css-mqpacker

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question