rollup.config.js 323 Bytes
Newer Older
James's avatar
James committed
1 2 3 4
import babel from 'rollup-plugin-babel'
import {terser} from 'rollup-plugin-terser'

export default {
5
    input: './lib/index.js',
James's avatar
James committed
6 7 8 9 10
    plugins: [
        babel(),
        terser()
    ],
    output: {
11
        file: './dist/stags.min.js',
James's avatar
James committed
12
        format: 'umd',
13
        name: 'stags',
James's avatar
James committed
14
        sourcemap: 'external'
James's avatar
James committed
15 16 17
    },

}