Yuriy Grunin

Results 76 comments of Yuriy Grunin

Well, I won't mind a PR introducing this feature but with a note in the docs that "in this case you won't see parsed and gzipped sizes".

We can probably do nothing if there are compilation errors? @valscion what do you think?

I think its a legit bug. I've overlooked this case.

@kyriiherman it's not so easy. What if the only found item is a directory? In your case the size will be zero.

@kyriiherman No, it's not. You can input a regexp that will match only directory name e.g. `node_modules$` and it won't be empty.

I don't think it will work either. The proper solution would be to check nesting of the found items e.g. if we have found "lodash/find.js" module then we should ignore...

@kyriiherman `(lodash$)|(react)` is a valid RegExp that will match both `lodash` folder and all the react folders and modules. `core\.js$` can match both `core.js` folder and `core.js` module. RegExp can't...

I don't think using `console.error` for all types of messages is a good solution here. Can we understand somehow that webpack is being run in `--json` mode? What does other...

Thanks for the detailed issue! Looks like it can be fixed quite easily, so PR is welcome.

What do you mean by "not working"? What error it shows? Could you create a minimal reproduction repo?