code: function getEntries(config, context) {
    var filter = config.filter && new RegExp(config.filter)
    var files = context.entries.length > 0
      ? context.entries
      : glob.sync(config.$path.source.client + '/**/index.scss')
    files = files
      .filter(file => !/node_modules/.test(file))
      .filter(file => !filter || !filter.test(file))
      .filter(file => /index\.scss$/.test(file))
    var entries = {}
    files.forEach(file => {
      var name = path.relative(config.$path.source.client, file).slice(0, -5)
      entries[name] = file
    })
    return entries
  }
docs: get entries
  
  @param  {Object} config
  @return {Object} webpack entries