Skip to content

Conversation

@alexzhang1030
Copy link
Member

@alexzhang1030 alexzhang1030 commented Jul 16, 2024

Comparison

package before now
devtools-applet 5.95MB 471KB ↓↓↓
devtools-client 7.2MB 4.5MB ↓↓
vite-plugin-vue-devtools 8.08MB 5.2MB ↓↓
devtools-ui 1.49MB 1.6MB ↑

The reason

  • devtools-kit & devtools-client & devtools-ui build dependencies packages on their bundles, this is duplicated.
  • applet and client uses shiki twice, this is duplicated.

@alexzhang1030 alexzhang1030 requested a review from webfansplz July 16, 2024 06:53
@netlify
Copy link

netlify bot commented Jul 16, 2024

Deploy Preview for vue-devtools-docs ready!

Name Link
🔨 Latest commit 95e2f0c
🔍 Latest deploy log https://app.netlify.com/sites/vue-devtools-docs/deploys/66961ae62e0c7e0008c8ffc5
😎 Deploy Preview https://deploy-preview-527--vue-devtools-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@webfansplz
Copy link
Member

Great work 👍

@webfansplz webfansplz changed the title refactor(applet+client): reduce bundle size build(applet+client): reduce bundle size Jul 17, 2024
@webfansplz webfansplz merged commit c6ffaed into vuejs:main Jul 17, 2024
@alexzhang1030 alexzhang1030 deleted the refactor/code-block branch July 17, 2024 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants