Exporting sourcemaps

Fixes #30
I would do this conditionally based on the `option` see bellow