component-bundle
component-bundle copied to clipboard
Shared Dependencies
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
yeah, one problem that might occur is with require though we can prob put it in it's own file...
It might make sense to put the require function in the shared.js since you'd need to include it to use either lib