aboutsummaryrefslogtreecommitdiffstats
path: root/.config/rollup.polyfills.js
blob: 94f06546943783a533b4f0817fa8d1dee26c0b13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { uglify } from "rollup-plugin-uglify"
import resolve from 'rollup-plugin-node-resolve'
import commonjs from 'rollup-plugin-commonjs'

export default [
  {
    input: './.config/polyfills.js',
    output: {
      file: 'dist/polyfills.js',
      name: 'polyfills',
      sourceMap: 'external',
      format: 'iife'
    },
    plugins: [
      resolve({browser: true}),
      commonjs(),
      uglify()
    ]
  }
]