Whoops, I had that change locally but forgot to make it when creating the
pull request. (I just edited the file on the site because I haven't
actually cloned my fork yet.)

It also occurred to me that having these above the target level would be
better since you could then avoid having to duplicate them for every
target. Will look into how to do that tonight and submit a corrected PR.



On Mar 23, 2013, at 9:46 AM, Shane <notifications@github.com> wrote:

In tasks/browserify2.coffee:

> @@ -11,6 +11,7 @@ module.exports = (grunt)->
>      targetConfig = config[@target]
>      {entry, mount, server, debug, compile, beforeHook} = targetConfig
>      bundle = browserify entry
> +    bundle.require( val, { expose: key } ) for key, val of exposed

where is exposed coming from here? You need to pull it out of the
targetConfig above.

{entry, mount, server, debug, compile, beforeHook, exposed} = targetConfig

—
Reply to this email directly or view it on
GitHub<https://github.com/shanejonas/grunt-browserify2/pull/9/files#r3501262>
.