{"size": 655, "ext": "js", "max_stars_repo_path": "docs/rollup.config.js", "max_stars_repo_name": "dra2020/polygon-clipping", "max_stars_repo_stars_event_min_datetime": "2018-04-13T08:33:51.000Z", "max_stars_repo_stars_event_max_datetime": "2018-04-13T08:33:52.000Z", "max_issues_repo_path": "docs/rollup.config.js", "max_issues_repo_name": "rowanwins/polygon-clipping", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "docs/rollup.config.js", "max_forks_repo_name": "rowanwins/polygon-clipping", "max_forks_repo_forks_event_min_datetime": "2022-02-01T10:53:38.000Z", "max_forks_repo_forks_event_max_datetime": "2022-02-01T10:53:38.000Z"}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 20.46875, "max_line_length": 48, "alphanum_fraction": 0.6091603053}
import babel from 'rollup-plugin-babel'
import commonjs from 'rollup-plugin-commonjs'
import json from 'rollup-plugin-json'
import resolve from 'rollup-plugin-node-resolve'
import { terser } from 'rollup-plugin-terser'
import vue from 'rollup-plugin-vue'

export default {
  input: 'src/main.js',
  output: {
    name: 'polygonClippingDocs',
    file: 'dist/bundle.js',
    format: 'iife',
    globals: {
      vue: 'Vue'
    },
    sourcemap: true
  },
  plugins: [
    resolve(),
    commonjs(),
    json(),
    vue(),
    babel({
      extensions: ['.js', '.vue'],
      configFile: '../babel.config.js'
    }),
    terser()
  ],
  external: ['vue']
}
