Skip to content
This repository has been archived by the owner on Apr 4, 2019. It is now read-only.

Shared Dependencies #1

Open
tarqd opened this issue Dec 11, 2013 · 2 comments
Open

Shared Dependencies #1

tarqd opened this issue Dec 11, 2013 · 2 comments

Comments

@tarqd
Copy link

tarqd commented Dec 11, 2013

Ideally I'd like to have an option where component-bundle detects the shared dependencies between two bundles and places them in a "shared" dependencies bundle. So if bundles foo and bar both depend on component/emitter we'd get bundles/foo.js bundles/bar.js bundles/shared.js where shared.js contains component/emitter

@yields
Copy link
Owner

yields commented Dec 11, 2013

yeah, one problem that might occur is with require though we can prob put it in it's own file...

@tarqd
Copy link
Author

tarqd commented Dec 11, 2013

It might make sense to put the require function in the shared.js since you'd need to include it to use either lib

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