webpack-contrib / postcss-loader

PostCSS loader for webpack
MIT License
2.86k stars 209 forks source link

fix(perf): avoid using `klona` for postcss options #658

Closed alexander-akait closed 1 year ago

alexander-akait commented 1 year ago

This PR contains a:

Motivation / Use-Case

Do not use klona - better perf and less deps

Breaking Changes

No

Additional Info

No

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.07 :warning:

Comparison is base (69446c3) 88.76% compared to head (71ec9be) 88.70%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #658 +/- ## ========================================== - Coverage 88.76% 88.70% -0.07% ========================================== Files 3 3 Lines 356 354 -2 Branches 115 115 ========================================== - Hits 316 314 -2 Misses 37 37 Partials 3 3 ``` | [Impacted Files](https://app.codecov.io/gh/webpack-contrib/postcss-loader/pull/658?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/postcss-loader/pull/658?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webpack-contrib#diff-c3JjL2luZGV4Lmpz) | `95.45% <100.00%> (ø)` | | | [src/utils.js](https://app.codecov.io/gh/webpack-contrib/postcss-loader/pull/658?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webpack-contrib#diff-c3JjL3V0aWxzLmpz) | `86.41% <100.00%> (-0.11%)` | :arrow_down: |

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