docs: function transformDir ({ config, entry, outdir }) {
    return glob.sync(`${entry[0]}/**/*.js`).map(filename =>
      transformFile({
        config,
        entry: [filename, filename.replace(entry[0], entry[1] || outdir)]
      })
    )
  }