Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a bug in browserify I believe: browserify/browser-pack#41 browserify/browserify#1351
- Loading branch information
This is a bug in browserify I believe: browserify/browser-pack#41 browserify/browserify#1351
48c581b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really my place, but would mention that the initial semicolon is defensive; a normal JS file as written by a human probably wouldn't have such a semicolon, so I don't think it makes much sense for browserify to output an initial semicolon. A trailing semicolon though, certainly makes sense; it's proper etiquette for a JS file to properly terminate itself, and not clobber/mangle a following JS file when concatenated.
That said, your dist now seems to begin with
-e
, which I'm not sure I understand; so I leave the rest up to you.