Exporting sourcemap option should take other options into account