Mateusz Burzyński
Mateusz Burzyński
You'd probably get even better results if you remove the function calls within loop. You have to be careful about inserted identifiers and such, but it should be fairly easy...
It would be great if it could also **always** report 0-import cost. What I mean is basically always also trying entry with this: https://github.com/mweststrate/import-size/blob/8fc7d170584d07130376ed679583e303ec12da31/index.js#L12 It would serve as a good...
Note - the option should be able to handle renamed imports like this: ```js { whitelist: [ 'taggedTemplateLiteral', { identifier: 'css' , source: 'emotion' } ] } ``` So even...
**Input code** ```js var unusedTimerId = setInterval(function () { pingAPI() }) ``` Even though `setInterval` is used in assignment context and its result remain unused, its probably not desired to...