Added support for source maps

Added source map support for this plugin, also added documentation.