index.js
function init(config) {
  var hydroConfig = config.hydro || {};
  var hydroJs = hydroConfig.path || dirname(dirname(require.resolve('hydro'))) + '/dist/hydro.js';
  var before = hydroConfig.before || [];

  config.files.unshift(createPattern(__dirname + '/adapter.js'));
  config.files.unshift(createPattern(hydroJs));

  before.reverse().forEach(function(file) {
    config.files.unshift(createPattern(path.resolve(file)));
  });
}
function init(config) {
  var hydroConfig = config.hydro || {};
  var hydroJs = hydroConfig.path || dirname(dirname(require.resolve('hydro'))) + '/dist/hydro.js';
  var before = hydroConfig.before || [];

  config.files.unshift(createPattern(__dirname + '/adapter.js'));
  config.files.unshift(createPattern(hydroJs));

  before.reverse().forEach(function(file) {
    config.files.unshift(createPattern(path.resolve(file)));
  });
}
function init ( config ) { var hydroConfig = config . hydro || { } ; var hydroJs = hydroConfig . path || dirname ( dirname ( require . resolve ( 'hydro' ) ) ) + '/dist/hydro.js' ; var before = hydroConfig . before || [ ] ; config . files . unshift ( createPattern ( __dirname + '/adapter.js' ) ) ; config . files . unshift ( createPattern ( hydroJs ) ) ; before . reverse ( ) . forEach ( function ( file ) { config . files . unshift ( createPattern ( path . resolve ( file ) ) ) ; } ) ; }
Insert hydro into the loaded files.

@param {Array} files
@api public
Insert hydro into the loaded files .