thlorenz / browserify-shim

📩 Makes CommonJS incompatible files browserifyable.
MIT License
933 stars 87 forks source link

Multiple shims to match browserifys multiple bundles #140

Closed lukemcgregor closed 9 years ago

lukemcgregor commented 9 years ago

Browserify has the concept of multiple bundles, you can create separate bundles which act independently.

It would be great if you could independently manage the shims for each bundle. Currently you can only define one list of shims and have the option of applying all or none to a specific bundle. It would be great if you could apply separate lists of shims to each bundle.

bendrucker commented 9 years ago

This amounts to the same request as #65. We'll take a PR for allowing options to be passed directly but it could be a while until Thorsten or I get around to it.

vovacodes commented 9 years ago

Hey Guys, is this functionality added? If not I'd +1 for it.

bendrucker commented 9 years ago

No, but I understand why people want it (no +1 needed). Per #65, we'd like to review a PR and otherwise it's not likely in the short term.

bendrucker commented 9 years ago

If you have anything to add please do so in #65