webpack-contrib / less-loader

Compiles Less to CSS
MIT License
959 stars 194 forks source link

fix: handling error better #515

Closed alexander-akait closed 1 year ago

alexander-akait commented 1 year ago

This PR contains a:

Motivation / Use-Case

part of https://github.com/webpack/webpack/issues/15980

Breaking Changes

No

Additional Info

No

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.66 :tada:

Comparison is base (43cd20c) 92.66% compared to head (787c034) 93.33%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #515 +/- ## ========================================== + Coverage 92.66% 93.33% +0.66% ========================================== Files 4 4 Lines 150 150 Branches 33 33 ========================================== + Hits 139 140 +1 + Misses 11 10 -1 ``` | [Impacted Files](https://app.codecov.io/gh/webpack-contrib/less-loader/pull/515?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webpack-contrib) | Coverage Δ | | |---|---|---| | [src/index.js](https://app.codecov.io/gh/webpack-contrib/less-loader/pull/515?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webpack-contrib#diff-c3JjL2luZGV4Lmpz) | `90.00% <100.00%> (+0.63%)` | :arrow_up: | | [src/utils.js](https://app.codecov.io/gh/webpack-contrib/less-loader/pull/515?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webpack-contrib#diff-c3JjL3V0aWxzLmpz) | `96.42% <100.00%> (+1.02%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.