code: function (url, baseDir, done) {
    resolve(url, {
      basedir: baseDir,
      extensions: [ '.scss', '.sass', '.css' ],
      pathFilter: function (pkg, absPath, relativePath) {
        var globbedPath = buildSassGlob(absPath);
        var paths = glob.sync(globbedPath);
        var resolvedPath = paths && paths[0];
        if (resolvedPath) {
          return path.join(path.dirname(relativePath), path.basename(resolvedPath));
        }
      }
    }, function (err, file) {
      if (err) return done(err);
  
      // Strip the extension so .css gets evaluated properly as .scss
      file = file.replace(/\.(js|(sa|sc|c)ss)$/, '');
      done(null, file);
    });
  }
docs: Resolves `url` and calls `done(error, null)` when done.
  Note that the `done()` function args don't match what node-sass expects.