interlockjs / interlock

JS bundler - inspired by Git, built on Babel.
MIT License
72 stars 7 forks source link

Consume modules from other builds #29

Closed divmain closed 9 years ago

divmain commented 9 years ago

Create plugin in interlock-share repo.

divmain commented 9 years ago

Note to self: share.take does not currently halt assembly of the dependency graph when a shared module is hit (matched by module.uri property). All dependencies are traversed and constructed - however, modules present in the shared build will be removed from all bundles before they are hashed.

I may revisit this later should significant performance concerns materialize.