lib/compiler.js
function getOptions(opts, cb) {
  var options = clonedeep(opts || {});

  // TODO: preprocess options

  // options.sourceComments = options.sourceComments || true;
  // if (options.hasOwnProperty('file')) {
  //   options.file = getInputFile(options);
  // }
  // options.outFile = getOutputFile(options);
  // options.includePaths = buildIncludePaths(options);

  // context object represents node-sass environment
  options.context = { options: options, callback: cb };

  return options;
}
function getOptions(opts, cb) {
  var options = clonedeep(opts || {});

  // TODO: preprocess options

  // options.sourceComments = options.sourceComments || true;
  // if (options.hasOwnProperty('file')) {
  //   options.file = getInputFile(options);
  // }
  // options.outFile = getOutputFile(options);
  // options.includePaths = buildIncludePaths(options);

  // context object represents node-sass environment
  options.context = { options: options, callback: cb };

  return options;
}
Get options

@param {Object} options
@api private