{"size": 485, "ext": "js", "max_stars_repo_path": "packages/translation-selection/rollup.config.js", "max_stars_repo_name": "shenzhiming88/userjs", "max_stars_repo_stars_event_min_datetime": "2019-06-10T05:41:40.000Z", "max_stars_repo_stars_event_max_datetime": "2022-02-18T08:32:54.000Z", "max_issues_repo_path": "packages/translation-selection/rollup.config.js", "max_issues_repo_name": "shenzhiming88/userjs", "max_issues_repo_issues_event_min_datetime": "2019-09-03T03:25:51.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-20T09:16:02.000Z", "max_forks_repo_path": "packages/translation-selection/rollup.config.js", "max_forks_repo_name": "shenzhiming88/userjs", "max_forks_repo_forks_event_min_datetime": "2020-02-21T00:39:49.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-20T06:26:36.000Z"}
{"max_stars_count": 57, "max_issues_count": 40, "max_forks_count": 12, "avg_line_length": 22.0454545455, "max_line_length": 58, "alphanum_fraction": 0.6432989691}
import metablock from 'rollup-plugin-userscript-metablock'
import { nodeResolve } from '@rollup/plugin-node-resolve'
import sucrase from '@rollup/plugin-sucrase'
import commonjs from '@rollup/plugin-commonjs'

export default {
  input: 'src/index.ts',
  output: {
    file: 'dist/index.user.js',
    format: 'iife',
  },
  plugins: [
    nodeResolve(),
    commonjs(),
    sucrase({
      exclude: ['node_modules/**'],
      transforms: ['typescript'],
    }),
    metablock(),
  ],
}
