text: import createRollupConfig from '@guanghechen/rollup-config'
  import path from 'path'
  
  process.env.ROLLUP_SHOULD_SOURCEMAP = false
  
  async function rollupConfig() {
    const { default: manifest } = await import(path.resolve('package.json'))
    const config = [
      createRollupConfig({
        manifest,
        pluginOptions: {
          typescriptOptions: {
            tsconfig: 'tsconfig.src.json',
          },
        },
      }),
    ]
    return config
  }
  
  export default rollupConfig()
  