docs: function indexTemplate(format, data) {
    if (format === 'cjs') {
      return `module.exports = require('${data.main}')`
    }
    if (format === 'esm') {
      return `import ${data.name} from '${data.main}'
  
  export default ${data.name}`
    }
  }