ant-design / cssinjs

https://ant-design.github.io/cssinjs
MIT License
235 stars 57 forks source link

fix: hmr should rebuild cache #137

Closed zombieJ closed 11 months ago

zombieJ commented 11 months ago

fix https://github.com/ant-design/cssinjs/issues/127

ref https://github.com/ant-design/ant-design/issues/43510#issuecomment-1651129373

github-actions[bot] commented 11 months ago

😭 Deploy PR Preview 8ff7dd6e857b9024dcfeca9b546afd014bc8d3b0 failed. Build logs

🤖 By surge-preview

codecov-commenter commented 11 months ago

Codecov Report

Patch coverage: 78.57% and project coverage change: -0.12% :warning:

Comparison is base (c8a9393) 94.86% compared to head (acaf573) 94.75%.

:exclamation: Current head acaf573 differs from pull request most recent head 8ff7dd6. Consider uploading reports for the commit 8ff7dd6 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #137 +/- ## ========================================== - Coverage 94.86% 94.75% -0.12% ========================================== Files 24 24 Lines 2065 2077 +12 Branches 325 326 +1 ========================================== + Hits 1959 1968 +9 - Misses 106 109 +3 ``` | [Files Changed](https://app.codecov.io/gh/ant-design/cssinjs/pull/137?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design) | Coverage Δ | | |---|---|---| | [src/hooks/useGlobalCache.tsx](https://app.codecov.io/gh/ant-design/cssinjs/pull/137?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL2hvb2tzL3VzZUdsb2JhbENhY2hlLnRzeA==) | `93.93% <78.57%> (-2.62%)` | :arrow_down: |

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