tmpfs / async-validate

Asynchronous type validation for node and the browser
Other
314 stars 45 forks source link

Reduce file size (browserify) #19

Closed tmpfs closed 9 years ago

tmpfs commented 9 years ago

When compiled for the browser using browserify and minified it is weighing in at ~75KB, this should be reduced.

tmpfs commented 9 years ago

This could be reduced by removing the util and async deps.

tmpfs commented 9 years ago

Util dependency removed in 70d8e27cc1371edfcfde7d65295b756bf5dbed1d, async dep removed in d90a3e348deebfdf38966b26c9f7f100f6f8aa38.

Now need to make the moment dependency optional, without moment browserify builds to ~32KB.

tmpfs commented 9 years ago

Considered implemented with the integration of a plugin system which gives zero built in types by default, see: 88f42871bdcd89ced24f4310d2425cf333107872.

A browserify build before minification and not including any plugins is ~20KB.