old_contents: import babel from 'rollup-plugin-babel'
  import resolve from 'rollup-plugin-node-resolve'
  import commonjs from 'rollup-plugin-commonjs'
  import replace from 'rollup-plugin-replace'
  import uglify from 'rollup-plugin-uglify'
  import { minify } from 'uglify-js-harmony'
  
  export default {
    entry: 'src/index.js',
    moduleName: 'format',
    targets: [
      { dest: 'dist/bundle.cjs.js', format: 'cjs' },
      // { dest: 'dist/bundle.umd.js', format: 'umd' },
      { dest: 'dist/bundle.es.js', format: 'es' },
    ],
    sourceMap: true,
    plugins: [
      babel({
        exclude: 'node_modules/**',
      }),
      resolve({
        jsnext: true,
        main: true,
        browser: true,
      }),
      commonjs(),
      replace({
        exclude: 'node_modules/**',
        ENV: JSON.stringify(process.env.NODE_ENV || 'development'),
      }),
      (process.env.NODE_ENV === 'production' && uglify({}, minify)),
    ],
  }
  
new_contents: import babel from 'rollup-plugin-babel'
  import resolve from 'rollup-plugin-node-resolve'
  import commonjs from 'rollup-plugin-commonjs'
  import replace from 'rollup-plugin-replace'
  import uglify from 'rollup-plugin-uglify'
  import { minify } from 'uglify-js-harmony'
  
  export default {
    entry: 'src/index.js',
    // moduleName: 'format',
    targets: [
      { dest: 'dist/bundle.cjs.js', format: 'cjs' },
      // { dest: 'dist/bundle.umd.js', format: 'umd' },
      { dest: 'dist/bundle.es.js', format: 'es' },
    ],
    sourceMap: true,
    plugins: [
      babel({
        exclude: 'node_modules/**',
      }),
      resolve({
        jsnext: true,
        main: true,
        browser: true,
      }),
      commonjs(),
      replace({
        exclude: 'node_modules/**',
        ENV: JSON.stringify(process.env.NODE_ENV || 'development'),
      }),
      (process.env.NODE_ENV === 'production' && uglify({}, minify)),
    ],
  }
  
subject: Remove moduleName from rollup.config.js