nonzzz / vite-plugin-cdn

replace module with CDN. work with vite.
MIT License
73 stars 5 forks source link

fix: package should work normal #14

Closed nonzzz closed 11 months ago

nonzzz commented 11 months ago

Background

After we migrate to tsup. It seem break previous behavior.

13 #12

codecov[bot] commented 11 months ago

Codecov Report

Patch coverage: 68.18% and project coverage change: +82.32% :tada:

Comparison is base (bafe9b0) 0.00% compared to head (6a31ff5) 82.32%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #14 +/- ## =========================================== + Coverage 0 82.32% +82.32% =========================================== Files 0 5 +5 Lines 0 560 +560 Branches 0 89 +89 =========================================== + Hits 0 461 +461 - Misses 0 99 +99 ``` | [Files Changed](https://app.codecov.io/gh/nonzzz/vite-plugin-cdn/pull/14?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kanno) | Coverage Δ | | |---|---|---| | [src/code-gen.ts](https://app.codecov.io/gh/nonzzz/vite-plugin-cdn/pull/14?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kanno#diff-c3JjL2NvZGUtZ2VuLnRz) | `83.81% <0.00%> (ø)` | | | [src/vm.ts](https://app.codecov.io/gh/nonzzz/vite-plugin-cdn/pull/14?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kanno#diff-c3JjL3ZtLnRz) | `92.79% <64.70%> (ø)` | | | [src/shared.ts](https://app.codecov.io/gh/nonzzz/vite-plugin-cdn/pull/14?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kanno#diff-c3JjL3NoYXJlZC50cw==) | `61.11% <100.00%> (ø)` | | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/nonzzz/vite-plugin-cdn/pull/14/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kanno)

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