{"size": 584, "ext": "js", "max_stars_repo_path": "rollup.config.js", "max_stars_repo_name": "jakubferenc/ustr-mdh-mapa", "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": "jakubferenc/ustr-mdh-mapa", "max_issues_repo_issues_event_min_datetime": "2020-09-29T11:53:19.000Z", "max_issues_repo_issues_event_max_datetime": "2020-09-29T11:53:19.000Z", "max_forks_repo_path": "rollup.config.js", "max_forks_repo_name": "jakubferenc/ustr-mdh-mapa", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 21.6296296296, "max_line_length": 65, "alphanum_fraction": 0.6113013699}
import json from '@rollup/plugin-json';
import commonjs from 'rollup-plugin-commonjs';
import { terser } from 'rollup-plugin-terser';
import { nodeResolve } from '@rollup/plugin-node-resolve';

export default [
  {
  input: 'src/main.js',
  output: {
    dir: 'output',
    format: 'umd',
    indent: false,
    sourcemap: true,
  },
  plugins: [json(), nodeResolve(), terser(), commonjs()]
  },
  {
    input: 'node_modules/mapbox-gl/dist/mapbox-gl-unminified.js',
    output: {
        file: 'dist/mapbox-gl.esm.js',
        format: 'esm',
    },
    plugins: [commonjs()],
  }
];

