Mateusz Burzyński

Results 1186 comments of Mateusz Burzyński

> I thought about removing function calls, but inlining function bodies gets tricky. Sure thing, but many cases could get optimized - especially inline arrow functions. > Your suggestion about...

@bvaughn This is a rollup issue, I've just reported it over there - https://github.com/rollup/rollup/issues/2562 Just a note - webpack & uglifyJS would be able to remove only the first one.

> Leave it to the community to create a Stylis plugin for this (is there a centralized place where Stylis plugins can be found / requested? I don't think so....

Yep, it's only that with a different prefixer one would always bundle both as the prefixer is included in the default plugins. We've included that to make upgrading to Emotion...

If you are using Emotion then u can use CacheProvider and skip providing the prefixer plugin, u can roughly see how it could be done here: https://emotion.sh/docs/cache-provider

I think this is doable - and probably a good thing to include. WDYT @thysultan ?

I've done preliminary investigation and it seems that's the fault of used `import-size` package. It "transforms" `import "${library}";` input to `import * as tmp from "${library}";console.log(tmp);`. Making it effectively the...

That's not quite possible, because it would be ambigous with: ```js {([item, opened, toggle]) => { ``` And I can't statically know which one do you want. Supporting the given...

`adaptObj` actually would not be needed because this: ```js const { item, opened, toggle } = adopt() ``` is very much supported - it's a single destructured argument. I would...

In general I'm planning to provide a macro for this, just couldnt find time lately to focus on this project. It should be super easy to convert this one as...