Vee-validate: Package size is too big

Created on 18 Apr 2019  路  4Comments  路  Source: logaretm/vee-validate

Seems that the size of this package is really big, without minifying it is bigger than the entire Vue package.

There is some import trick to make it smaller?

I've loaded it as a plugin (webpack), but I need to use only the directive.

Most helpful comment

You can read about the minimal bundle issue here

Currently, we are working on v3 which will address the bundle issue by allowing features to be imported separately. No ETA yet.

All 4 comments

You can read about the minimal bundle issue here

Currently, we are working on v3 which will address the bundle issue by allowing features to be imported separately. No ETA yet.

This has been addressed in v3, a couple of breaking changes but for the best. The current stats for v3 are:

| Default (minimal) Bundle | 2.x size | 3.0-alpha size |
|--------------------------|----------|----------------|
| Disk | 136kb | 100kb |
| Minified | 58.7kb | 36kb |
| Minified + Gzipped | 16kb | 10kb |


| Full Bundle | 2.x size | 3.0-alpha size |
|--------------------|----------|----------------|
| Disk | 350kb | 127kb |
| Minified | 124kb | 49kb |
| Minified + Gzipped | 31kb | 19kb |

@logaretm, hi. Do you have a list of breaking changes? I want to decide if I wait for version 3. Thanks.

@robsonsobral I don't recommend waiting for it as I still have to nail down a bunch of stuff before its ready. But here you go

I would love some feedback on it as well.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MeltedFreddo picture MeltedFreddo  路  3Comments

yyyuuu777 picture yyyuuu777  路  3Comments

7immer picture 7immer  路  3Comments

DanielPe05 picture DanielPe05  路  3Comments

Hoagiex picture Hoagiex  路  3Comments