import uglify from 'rollup-plugin-uglify';
import commonjs from 'rollup-plugin-commonjs';
import resolve from 'rollup-plugin-node-resolve';

export default {
    name: 'KeyCode',
    input: 'index.js',
    output: {
        format: 'umd',
        file: 'dist/keycode.min.js'
    },
    sourcemap: true,
    plugins: [
        resolve({
            jsnext: true,
            main: true,
            browser: true,
        }),
        commonjs(),
        uglify()
    ]
};

@@ -1,21 +1,25 @@
 import
+ %7B
  uglify
+ %7D
  from 'r

Use named import for uglify rollup plugin