nonzzz / vite-plugin-compression

vite plugin. compress your bundle file.
MIT License
162 stars 9 forks source link

Feat: support multiple process #28

Closed nonzzz closed 1 year ago

nonzzz commented 1 year ago

Background

26 #27

Form This issue. We can know the user pass the rollupOptions the plugin can't work as expected. So this pull request will resolve this question.

CheckList

Others

No.

codecov[bot] commented 1 year ago

Codecov Report

Merging #28 (7f01cae) into master (70df0d5) will decrease coverage by 6.47%. The diff coverage is 69.66%.

:exclamation: Current head 7f01cae differs from pull request most recent head 756a1e5. Consider uploading reports for the commit 756a1e5 to get more accurate results

Additional details and impacted files [![Impacted file tree graph](https://codecov.io/gh/nonzzz/vite-compression-plugin/pull/28/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://codecov.io/gh/nonzzz/vite-compression-plugin/pull/28?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kanno) ```diff @@ Coverage Diff @@ ## master #28 +/- ## ========================================== - Coverage 93.57% 87.10% -6.47% ========================================== Files 3 3 Lines 249 318 +69 Branches 45 54 +9 ========================================== + Hits 233 277 +44 - Misses 16 40 +24 - Partials 0 1 +1 ``` | [Impacted Files](https://codecov.io/gh/nonzzz/vite-compression-plugin/pull/28?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kanno) | Coverage Δ | | |---|---|---| | [src/index.ts](https://codecov.io/gh/nonzzz/vite-compression-plugin/pull/28?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kanno#diff-c3JjL2luZGV4LnRz) | `85.71% <69.66%> (-9.77%)` | :arrow_down: |
nonzzz commented 1 year ago

closes #27