scalar / openapi-parser

Modern OpenAPI parser written in TypeScript
MIT License
34 stars 1 forks source link

chore: reduce bundle size #100

Closed hanspagel closed 3 months ago

hanspagel commented 3 months ago

This PR should reduce the bundle size:

changeset-bot[bot] commented 3 months ago

πŸ¦‹ Changeset detected

Latest commit: cf5f4c7152d8ea6e55ff369398777e2f3c8d5def

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ---------------------- | ----- | | @scalar/openapi-parser | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

relativeci[bot] commented 3 months ago

#59 Bundle Size β€” 114.96KiB (-75.96%).

cf5f4c7(current) vs 9ae6f70 main#57(baseline)

Bundle metrics  Change 4 changes Improvement 2 improvements
                 Current
#59
     Baseline
#57
Improvement  Initial JS 114.96KiB(-75.96%) 478.24KiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 100% 0%
No change  Chunks 1 1
No change  Assets 1 1
Change  Modules 47(-84.64%) 306
No change  Duplicate Modules 0 0
No change  Duplicate Code 0% 0%
Improvement  Packages 2(-80%) 10
No change  Duplicate Packages 0 0

Bundle size by type  Change 1 change Improvement 1 improvement
|            |       Current
[#59](https://app.relative-ci.com/projects/hXQ54UQKluDUZAKvpt9b/jobs/59-Swn3hTK4yQARcd4IVMAf?utm_source=github&utm_medium=pr-report "View bundle analysis report") |      Baseline
[#57](https://app.relative-ci.com/projects/hXQ54UQKluDUZAKvpt9b/jobs/57-OwkIkGewm6fwIPXbg9sN?utm_source=github&utm_medium=pr-report "View baseline bundle analysis report") | |:--|--:|--:| | Improvement  [JS](https://app.relative-ci.com/projects/hXQ54UQKluDUZAKvpt9b/jobs/59-Swn3hTK4yQARcd4IVMAf/assets?ba=%7B%22filters%22%3A%22ft.CSS-0_ft.JS-1_ft.IMG-0_ft.MEDIA-0_ft.FONT-0_ft.HTML-0_ft.OTHER-0%22%7D "View JS assets") | `114.96KiB` (`-75.96%`) | `478.24KiB` |

Bundle analysis report Branch chore/reduce-bundle-size Project dashboard