Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

Reduce file size #5

Closed
4 tasks done
Raynos opened this issue Apr 4, 2014 · 8 comments
Closed
4 tasks done

Reduce file size #5

Raynos opened this issue Apr 4, 2014 · 8 comments

Comments

@Raynos
Copy link
Owner

Raynos commented Apr 4, 2014

  • remove 3 copies of virtual-dom
  • fix raf so it exposes polyfill without event emitter
  • fix observ-hash to use latest xtend
  • drop browser-split from virtual-hyperscript

This should reduce filesize of mercury from 100kb to 50kb

@neonstalwart
Copy link
Collaborator

👍

@Raynos Raynos mentioned this issue Apr 8, 2014
17 tasks
@Raynos
Copy link
Owner Author

Raynos commented Apr 11, 2014

currently down to 67kb.

Can get down more once we get onto a real virtual-dom npm version.

@Raynos
Copy link
Owner Author

Raynos commented Apr 16, 2014

down to 50kb

Which was the goal of this issue.

@Raynos Raynos closed this as completed Apr 16, 2014
@Raynos
Copy link
Owner Author

Raynos commented Apr 16, 2014

It's 10kb minified & gzipped btw.

@Raynos
Copy link
Owner Author

Raynos commented Apr 16, 2014

Which is smaller then knockout & spine but larger then backbone.

However backbone cheats & depends on a global jquery & a global underscore.

@Raynos
Copy link
Owner Author

Raynos commented Apr 16, 2014

Framework size:

size

@Raynos
Copy link
Owner Author

Raynos commented Apr 16, 2014

mercury is ahead in size (10kb) and the next runner up is backbone (22kb)

@neonstalwart
Copy link
Collaborator

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants