{"size": 452, "ext": "js", "max_stars_repo_path": "rollup.config.js", "max_stars_repo_name": "foreseecode/backbone-oauth-1.0a", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "rollup.config.js", "max_issues_repo_name": "foreseecode/backbone-oauth-1.0a", "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": "foreseecode/backbone-oauth-1.0a", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.7894736842, "max_line_length": 69, "alphanum_fraction": 0.6150442478}
import resolve from '@rollup/plugin-node-resolve';
import babel from '@rollup/plugin-babel';
import { uglify } from 'rollup-plugin-uglify';

export default {
  input: 'src/backbone-oauth.js',
  output: {
    compact: true,
    file: 'dist/index.js',
    format: 'umd',
    globals: {
      jquery: '$',
      backbone: 'Backbone',
    },
  },
  external: ['jquery', 'backbone'],
  plugins: [resolve(), babel({ babelHelpers: 'bundled' }), uglify()],
};
