{"size": 487, "ext": "js", "max_stars_repo_path": ".rollup.config.js", "max_stars_repo_name": "bash/mdl-app", "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": "bash/mdl-app", "max_issues_repo_issues_event_min_datetime": "2017-08-04T08:53:45.000Z", "max_issues_repo_issues_event_max_datetime": "2019-03-09T10:20:37.000Z", "max_forks_repo_path": ".rollup.config.js", "max_forks_repo_name": "bash/mdl-app", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 3, "max_forks_count": null, "avg_line_length": 24.35, "max_line_length": 60, "alphanum_fraction": 0.7104722793}
import babel from 'rollup-plugin-babel'
import resolve from 'rollup-plugin-node-resolve'
import uglify from 'rollup-plugin-uglify-es'
import commonjs from 'rollup-plugin-commonjs'

const isProduction = process.env['BUILD_MODE'] === 'release'

const plugins = [
  commonjs({ include: 'node_modules/**' }),
  babel(),
  resolve({ jsnext: true, modulesOnly: true }),
  uglify({ compress: true, mangle: false }),
]

export default {
  plugins,
  sourceMap: !isProduction,
  format: 'iife'
}
