New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minimal bundle size same as normal one #1844
Comments
|
I can confirm this behaviour (same version of vee-validate). It seems the bundle includes both the full build and the minimal build. In a uglyfied build, the minimal bundle grows about 40KB in size using only 'de' localization and 4 simple rules (length, numeric, email and required). |
|
Issue still persists. It added ~322kb to my form component. |
|
I built a tool to help you analyze webpack bundles for size regressions, and report them directly to GitHub PRs. It's free for open source, so it might be worth checking out and helpful in this scenario. |
|
Has there been any movement on this? |
|
I need solution too, |
|
Addressed here #2191 |
|
vee-validate is out, checkout the size improvements here: https://bundlephobia.com/result?p=vee-validate@3.0.0 |


Versions
Description
I want to install the minimal bundle of VeeValidate as described in the docs. But it has almost no effect on the bundle size after the build process (it has +1 KB compared to the bundle size after using the normal import described in the Getting Started section in the docs).
To reproduce
Minimal bundle installation:
... takes up 98.3 KB in my build file. Also my build files are the same size after normal/minimal import of VeeValidate.
Expected behavior
A smaller bundle size of VeeValidate.
Windows 10
Parcel 1.11.0 (for build process)
node 10.15.1
The text was updated successfully, but these errors were encountered: