Exporting sourcemaps

Fixes #30
Yes. Explained at below comment.