'use strict'
const path = require('path')

const HtmlWebpackPlugin = require('html-webpack-plugin')
const htmlWebpackPluginConfig = new HtmlWebpackPlugin({
  template: path.resolve(__dirname, '../src/client/index.html'),
  filename: 'index.html',
  inject: 'body'
})

const CopyWebpackPlugin = require('copy-webpack-plugin')
const copyWebpackPluginConfig = new CopyWebpackPlugin([
  {
    from: 'node_modules/monaco-editor/min/vs',
    to: 'vs'
  }
])

module.exports = [
  htmlWebpackPluginConfig,
  copyWebpackPluginConfig
]

@@ -36,16 +36,161 @@
 path')%0A%0A
+const %7BUglifyJsPlugin%7D = require('webpack').optimize%0Aconst uglifyJsPluginConfig = new UglifyJsPlugin(%7B%0A  compress: %7B%0A    warnings: false%0A  %7D%0A%7D)%0A%0A
 const Ht
@@ -610,16 +610,40 @@
 rts = %5B%0A
+  uglifyJsPluginConfig,%0A
   htmlWe

Use webpack's UglifyJsPlugin