import path from 'path'

import CopyWebpackPlugin from 'copy-webpack-plugin'
import CleanWebpackPlugin from 'clean-webpack-plugin'

export default {
  context: path.join(__dirname, 'src'),
  entry: {
    // basics
    'js/background.js': ['./js/background.js'],
    'js/content.js': ['./js/content.js'],

    // providers
    'js/providers/tenminutemail.js': ['./js/providers/tenminutemail/content.js'],
    'js/providers/airmail.js': ['./js/providers/airmail/content.js'],
    'js/providers/mailtospace.js': ['./js/providers/mailtospace/content.js'],
    'js/providers/guerrillamail.js': ['./js/providers/guerrillamail/content.js'],
    'js/providers/throwawaymail.js': ['./js/providers/throwawaymail/content.js'],
    'js/providers/tempmail.js': ['./js/providers/tempmail/content.js']
  },
  output: {
    path: path.join(__dirname, 'dist'),
    filename: './[name]'
  },
  module: {
    loaders: [
      {
        test: /\.js$/,
        exclude: /node_modules/,
        loader: 'babel'
      }
    ]
  },
  plugins: [
    new CleanWebpackPlugin(['dist']),
    new CopyWebpackPlugin([
      { from: 'manifest.json' },
      { from: 'img/icons/*' },
    ])
  ]
}

@@ -124,16 +124,233 @@
 plugin'%0A
+import webpack from 'webpack'%0A%0Aconst pkg = require('./package.json');%0Aconst banner = 'Temporary Email - ' + pkg.version + ' %7C ' +%0A  '(c) 2016, ' + new Date().getFullYear() + '  ' + pkg.author + ' %7C ' +%0A  pkg.license%0A%0A
 %0Aexport 
@@ -1227,24 +1227,105 @@
  plugins: %5B%0A
+    new webpack.optimize.UglifyJsPlugin(),%0A    new webpack.BannerPlugin(banner),%0A
     new Clea

Add UglifyJsPlugin and BannerPlugin