webpack-contrib / thread-loader

Runs the following loaders in a worker pool
MIT License
1.12k stars 69 forks source link

support loaderContext.getLogger #216

Closed JLHwung closed 2 weeks ago

JLHwung commented 2 weeks ago

This PR contains a:

Motivation / Use-Case

See original PR #130 for the motivation.

Breaking Changes

Additional Info

Closes #130 Fixes #185 Closes #198 Fixes https://github.com/babel/babel-loader/issues/1043

This PR is based on #130. In this PR we fixed the bug that caused the worker hanging, aligned the less-loader test case with the sass-loader one and incorporated the review comment https://github.com/webpack-contrib/thread-loader/issues/185#issuecomment-1668205463.

We also bumped babel-loader to 9.2.0, which is also affected by the issue #185.

linux-foundation-easycla[bot] commented 2 weeks ago

CLA Missing ID CLA Not Signed

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 0% with 59 lines in your changes missing coverage. Please review.

Project coverage is 19.00%. Comparing base (1bed580) to head (8d39667). Report is 6 commits behind head on master.

Files with missing lines Patch % Lines
src/worker.js 0.00% 44 Missing and 1 partial :warning:
src/WorkerPool.js 0.00% 13 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #216 +/- ## ========================================== - Coverage 21.23% 19.00% -2.23% ========================================== Files 8 8 Lines 504 563 +59 Branches 108 111 +3 ========================================== Hits 107 107 - Misses 348 405 +57 - Partials 49 51 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

alexander-akait commented 2 weeks ago

Thank you