sindresorhus/gulp-sweetjs — pull request #4 by francesco-bracchi (2014-02-04 22:31:38+00:00)
Title: moved module mapping outside  through.obj

I noticed that the plugin is not working when the input stream pushes more than one file, the problem was that the code that transform module names in actual modules was called more than once. I moved it outside the callback function.
hope is ok.