browser-pack
browser-pack copied to clipboard
Add missing semi-colon when using source maps
When minifying and concatenating files the missing trailing semi-colon can create side effects resulting in bugs.
Ping! Running into this issue right now; this commit seems straightforward enough, but concerned that it doesn't look like it's gotten attention for over a year. See https://github.com/substack/node-browserify/issues/1351.
Would be happy to chip in to help get this (or another fix) merged.
Ping?
The commit is straightforward, but the consequences are not. Last time I looked at this, there were problems with the standalone option.
@zertosh Can you provide a repro or description of the case you ran into? May be able to take a look if I have a place to start from. Thanks!
umd.postlude(...) returns });, so when you use both sourcemaps and standalone, you end up with double ;