aboutsummaryrefslogtreecommitdiff
path: root/rollup.config.js
blob: e8d61b66c1e197198ef57302262eff4bca214d83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import builtins from 'rollup-plugin-node-builtins';
import globals from 'rollup-plugin-node-globals';
import babel from 'rollup-plugin-babel';

export default {
    moduleName: 'client',
    dest: 'dist/bundle.js',
    entry: 'src/index.js',
    format: 'iife',
    plugins: [
        builtins(),
        globals(),
        babel({
            babelrc: false,
            sourceMaps: false,
            comments: false,
            presets: [
                ["es2015", { modules: false }]
            ],
        })
    ]
};