Skip to content

Comments

[RFC] build: bundle with Vue independent from environment#915

Closed
ShGKme wants to merge 1 commit intomainfrom
feat/bundle-with-vue
Closed

[RFC] build: bundle with Vue independent from environment#915
ShGKme wants to merge 1 commit intomainfrom
feat/bundle-with-vue

Conversation

@ShGKme
Copy link
Contributor

@ShGKme ShGKme commented Jan 14, 2025

Bundle all Vue-related dependencies instead of externalizing.

Pros

🎉 This allows to use the package in both Vue 2 and Vue 3 environments

Cons

+2872% bundle size 💀

Before After
29.64 kB 833.74 kB

Alternative

  • Make 2 builds in a single version (WIP)

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.

1 participant