index.js
function() {
  var src = config.paths.src;
  var out = config.paths.out;

  src.base = src.base || 'src/';
  src.styles = src.styles || 'styles/';
  src.scripts = src.scripts || 'scripts/';
  src.esnextExtension = src.esnextExtension || '.es6';
  src.views = src.templates || '../views/';
  src.partials = src.partials !== null ? src.partials : 'partials/';

  out.base = out.base || 'public/';

  var processed = {
    src: {
      styles: src.base + src.styles + '**/*' + plugins.styles.ext,
      scripts: src.base + src.scripts,
      es6: src.base + src.scripts + '**/*' + src.esnextExtension,
      esnextExt: src.esnextExtension,
      js: src.base + src.scripts + '**/*.js',
      views: src.base + src.views + '**/*',
      partials: src.base + src.views + src.partials + '**/*' + plugins.tpls.ext,
      tmp: src.base + 'temp/'
    },
    out: {
      base: out.base,
      styles: out.base + (out.styles || 'css/'),
      js: out.base + (out.scripts || 'js/')
    }
  };

  return processed;
}
function() {
  var src = config.paths.src;
  var out = config.paths.out;

  src.base = src.base || 'src/';
  src.styles = src.styles || 'styles/';
  src.scripts = src.scripts || 'scripts/';
  src.esnextExtension = src.esnextExtension || '.es6';
  src.views = src.templates || '../views/';
  src.partials = src.partials !== null ? src.partials : 'partials/';

  out.base = out.base || 'public/';

  var processed = {
    src: {
      styles: src.base + src.styles + '**/*' + plugins.styles.ext,
      scripts: src.base + src.scripts,
      es6: src.base + src.scripts + '**/*' + src.esnextExtension,
      esnextExt: src.esnextExtension,
      js: src.base + src.scripts + '**/*.js',
      views: src.base + src.views + '**/*',
      partials: src.base + src.views + src.partials + '**/*' + plugins.tpls.ext,
      tmp: src.base + 'temp/'
    },
    out: {
      base: out.base,
      styles: out.base + (out.styles || 'css/'),
      js: out.base + (out.scripts || 'js/')
    }
  };

  return processed;
}
function ( ) { var src = config . paths . src ; var out = config . paths . out ; src . base = src . base || 'src/' ; src . styles = src . styles || 'styles/' ; src . scripts = src . scripts || 'scripts/' ; src . esnextExtension = src . esnextExtension || '.es6' ; src . views = src . templates || '../views/' ; src . partials = src . partials !== null ? src . partials : 'partials/' ; out . base = out . base || 'public/' ; var processed = { src : { styles : src . base + src . styles + '**/*' + plugins . styles . ext , scripts : src . base + src . scripts , es6 : src . base + src . scripts + '**/*' + src . esnextExtension , esnextExt : src . esnextExtension , js : src . base + src . scripts + '**/*.js' , views : src . base + src . views + '**/*' , partials : src . base + src . views + src . partials + '**/*' + plugins . tpls . ext , tmp : src . base + 'temp/' } , out : { base : out . base , styles : out . base + ( out . styles || 'css/' ) , js : out . base + ( out . scripts || 'js/' ) } } ; return processed ; }
paths normalization helper
paths normalization helper