deepak1556 / gulp-browserify

Bundle modules with BrowserifyJS
MIT License
195 stars 45 forks source link

semicolon not added to the end of the generated file #71

Closed RustyToms closed 10 years ago

RustyToms commented 10 years ago

I am in the odd situation of needing to concatenate the result of browserify with some other scripts. The file generated by browserify is a self-executing anonymous function, but it doesn't have a semicolon at the end. In my case, it is followed by another parentheses wrapped self executing anonymous function. This causes an "uncaught object" error.

RustyToms commented 10 years ago

Sorry, this was from a version of browserify, not gulp-browserify.