 
     if not opts.watchJs
       # xxx: breaks watchify in watch mode, dedupe fuckup
-      b.require require.resolve('kd.js'), expose: 'kd'
+      b.require require.resolve('kd.js'), { expose: 'kd' }
 
     b.use manifests
 

        imgStream = s.img.pipe vfs.dest opts.spriteImgOutdir
        end_ = ->
          if --pending is 0
            secs = ((Date.now() - start)/1000).toFixed 2
            msg = 'written sprites to ' + opts.spriteImgOutdir + ' (' + secs + ')'
            console.log msg
            if not opts.watchSprites

      return acc
    , {}

    modules = manifests.map (manifest) ->
      name = manifest.name
      if name is 'ide'
        name = manifest.name.toUpperCase()
