-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Yes, I know there is a browserify-shim transform, but it should as easy to expose a global, as it is with b.require. For example, using subarg syntax and the same args for b.require:
"browser" : ["./angular.js", {"expose":"angular"}]
or
"browser" : {
"angular": [ "./angular.js", {"expose":"angular"}]
}
I see the following advantages over browserify-shim:
- Open the floodgates, it is a one-liner PR to convert many existing packages to support browserify
- No transform = no dependency, again helpful for convincing others to add support
Metadata
Metadata
Assignees
Labels
No labels