nonzzz / vite-plugin-compression

vite plugin. compress your bundle file.
MIT License
171 stars 10 forks source link

Export type helper function and type optimization #59

Closed nonzzz closed 3 months ago

nonzzz commented 3 months ago

CheckList

Relative

58

@mengdaoshizhongxinyang

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 75.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 90.51%. Comparing base (5a16590) to head (f1147dd). Report is 10 commits behind head on master.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/nonzzz/vite-plugin-compression/pull/59/graphs/tree.svg?width=650&height=150&src=pr&token=NG4475OP6B&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kanno)](https://app.codecov.io/gh/nonzzz/vite-plugin-compression/pull/59?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kanno) ```diff @@ Coverage Diff @@ ## master #59 +/- ## =========================================== - Coverage 100.00% 90.51% -9.49% =========================================== Files 4 5 +1 Lines 4 527 +523 Branches 0 125 +125 =========================================== + Hits 4 477 +473 - Misses 0 50 +50 ``` | [Files](https://app.codecov.io/gh/nonzzz/vite-plugin-compression/pull/59?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kanno) | Coverage Δ | | |---|---|---| | [src/compress.ts](https://app.codecov.io/gh/nonzzz/vite-plugin-compression/pull/59?src=pr&el=tree&filepath=src%2Fcompress.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kanno#diff-c3JjL2NvbXByZXNzLnRz) | `100.00% <100.00%> (ø)` | | | [src/shared.ts](https://app.codecov.io/gh/nonzzz/vite-plugin-compression/pull/59?src=pr&el=tree&filepath=src%2Fshared.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kanno#diff-c3JjL3NoYXJlZC50cw==) | `100.00% <100.00%> (ø)` | | | [src/tar.ts](https://app.codecov.io/gh/nonzzz/vite-plugin-compression/pull/59?src=pr&el=tree&filepath=src%2Ftar.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kanno#diff-c3JjL3Rhci50cw==) | `79.12% <100.00%> (ø)` | | | [src/task.ts](https://app.codecov.io/gh/nonzzz/vite-plugin-compression/pull/59?src=pr&el=tree&filepath=src%2Ftask.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kanno#diff-c3JjL3Rhc2sudHM=) | `97.22% <100.00%> (-2.78%)` | :arrow_down: | | [src/index.ts](https://app.codecov.io/gh/nonzzz/vite-plugin-compression/pull/59?src=pr&el=tree&filepath=src%2Findex.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kanno#diff-c3JjL2luZGV4LnRz) | `94.55% <57.14%> (-5.45%)` | :arrow_down: |