lib/index.js
function getSourceMap(options) {
  var sourceMap = options.sourceMap;

  if (sourceMap && typeof sourceMap !== 'string' && options.outFile) {
    sourceMap = options.outFile + '.map';
  }

  return sourceMap && typeof sourceMap === 'string' ? path.resolve(sourceMap) : null;
}
function getSourceMap(options) {
  var sourceMap = options.sourceMap;

  if (sourceMap && typeof sourceMap !== 'string' && options.outFile) {
    sourceMap = options.outFile + '.map';
  }

  return sourceMap && typeof sourceMap === 'string' ? path.resolve(sourceMap) : null;
}
function getSourceMap ( options ) { var sourceMap = options . sourceMap ; if ( sourceMap && typeof sourceMap !== 'string' && options . outFile ) { sourceMap = options . outFile + '.map' ; } return sourceMap && typeof sourceMap === 'string' ? path . resolve ( sourceMap ) : null ; }
Get source map

@param {Object} options
@api private
Get source map