This is incorrect.

Actually the usage of `this.chunks` below is incorrect. It should be `compilation.chunks` instead.

This happend probably while the migration from function to arrow function.

Better do a separate PR here, as we should also add tests for this.