Fixes #590, allow getting source map for out: function builds
snapshot