{"size": 578, "ext": "js", "max_stars_repo_path": "rollup.config.js", "max_stars_repo_name": "phobase/solid-simple-dnd", "max_stars_repo_stars_event_min_datetime": "2021-11-02T05:15:11.000Z", "max_stars_repo_stars_event_max_datetime": "2022-01-06T11:34:26.000Z", "max_issues_repo_path": "rollup.config.js", "max_issues_repo_name": "phobase/solid-simple-dnd", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "rollup.config.js", "max_forks_repo_name": "phobase/solid-simple-dnd", "max_forks_repo_forks_event_min_datetime": "2021-11-25T11:41:32.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-07T04:44:22.000Z"}
{"max_stars_count": 14, "max_issues_count": null, "max_forks_count": 2, "avg_line_length": 21.4074074074, "max_line_length": 83, "alphanum_fraction": 0.5501730104}
import typescript from '@rollup/plugin-typescript';
import babel from '@rollup/plugin-babel';

export default {
  input: 'src/index.ts',
  output: [
    {
      file: 'dist/index.cjs',
      format: 'cjs',
    },
    {
      dir: 'dist',
      format: 'es',
    },
  ],
  plugins: [
    babel({
      babelHelpers: 'runtime',
      extensions: ['.tsx', '.ts'],
      presets: ['solid', '@babel/typescript'],
      plugins: ['@babel/plugin-transform-runtime'],
    }),
    typescript(),
  ],
  external: ['solid-js', 'solid-js/store', 'solid-js/web', 'loglevel', 'classcat'],
};
