Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

chore: reduce bundle size #100

Merged
merged 2 commits into from
May 24, 2024
Merged

chore: reduce bundle size #100

merged 2 commits into from
May 24, 2024

Conversation

hanspagel
Copy link
Member

@hanspagel hanspagel commented May 24, 2024

This PR should reduce the bundle size:

  • Externalized ajv
  • Externalized yaml
  • Removed an unused dependency
  • Modular import from 'yaml'

Copy link

changeset-bot bot commented May 24, 2024

🦋 Changeset detected

Latest commit: cf5f4c7

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

Copy link

relativeci bot commented May 24, 2024

#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
     Baseline
#57
Improvement  JS 114.96KiB (-75.96%) 478.24KiB

Bundle analysis reportBranch chore/reduce-bundle-sizeProject dashboard

@hanspagel hanspagel merged commit 1023e0a into main May 24, 2024
7 checks passed
@hanspagel hanspagel deleted the chore/reduce-bundle-size branch May 24, 2024 15:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant