Andrey Sitnik

Results 1018 comments of Andrey Sitnik

Both ways are valid in PostCSS. The logic is: 1. If you have no options, you can reduce `()` by writing only `require('autoprefixer')` 2. If you have options, then you...

I got this error during `npm init` call. Can you show me the PostCSS config? Can you show me how do you load this config? ``` ➜ npm init --yes...

> The error you get seems related to yarn (ref). The same command should work with npm (ref). I used `npm init` there. Maybe script found `yarn` in my system...

Is it just a performance problem of file multiple loading or it causes some bug? (Don't worry I will not ignore performance issue 😅)

Why you can’t use `require()`?

We can do it, but you need to send PR and add tests

Can you create a smaller example to understand what is happening?

I got the problem, it happens because you have 2 media queries. JS object doesn’t allow having 2 properties with the same key, so we try to collapse them. There...

The third option is to change `objectifier.js` to keep merged at-rule at the position of the latest merging at-rule. Again, it is not a solution, but a hack, since we...

> Could a possible fourth option be to output an array of objects instead of an object? We can generate array in case when we have different media with the...