Move sourceMappingURL to last line
This is more in line with the spec which says "the generated code may include a line at the end of the source, with the following form: //# sourceMappingURL=<url>" and "there exists a //# sourceURL comment in the generated code". It also looks better since the sourceMappingURL is very long. Also, add a trailing newline. This was motivated by mishoo/UglifyJS2#3441.
I guess? Would this be a breaking change for anyone?
Going on a limb here - it's been a few years - but wasn't there some I.E. bug if the last line contained some specific characters that could pose an issue? Maybe we don't need to care, to be fair...
Is this good to merge?
Any update on this?
I don’t know what to do with this. I worry that it could break some people, like bundlers that expect the current output, and I don’t really see why the change is needed.