f / f/vue-wait

Twice as big when introducing Vue 3

Open
#112 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2k
Forks
98
PR merge metrics
No merged PRs in 30d

Description

Hi there,

When introducing the Vue 3 compatibility version on v1.5, you **increased the package size by two** due to the fact that you have two separate dist files (`vue-wait-next` and `vue-wait-v2`) that are included together.

This can be clearly viewed on Bundlephobia https://bundlephobia.com/package/vue-wait@1.5.3

![Capture d’écran 2021-12-10 à 18 30 59](https://user-images.githubusercontent.com/2766008/145616678-202c41ef-144c-4819-8bdf-39d0b4612d8e.png)
![Capture d’écran 2021-12-10 à 18 29 13](https://user-images.githubusercontent.com/2766008/145616516-b0eed8a8-8b0b-401c-b4b5-eb503a62ff6b.png)

Wouldn't there be a better way to tree shake this?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.