code: async function buildEsCjs() {
    // create a bundle
    const bundle = await rollup.rollup({
      input: 'src/index.js',
      external: ['riot'],
      plugins: [
        nodeResolve({
          jsnext: true,
          main: true,
          browser: true
        }),
        commonjs({
          include: 'node_modules/**',
          namedExports: namedExports
        }),
        buble()
      ]
    });
    await bundle.write({
      format: 'es',
      banner: banner,
      intro: intro,
      file: 'lib/index.js'
    });
    await bundle.write({
      format: 'cjs',
      banner: banner,
      intro: intro,
      file: 'index.js'
    });
  }
docs: es/cjs