added include of sourceMapBasepath when writing out source map