var path = require('path');
module.exports = {
    entry: './lib/main.js',
    output: {
        path: __dirname,
        filename: 'main.js'
    },
    module: {
        loaders: [
            { loader: 'babel-loader', options: {          plugins: [require('babel-plugin-transform-object-rest-spread')]
} }
        ]
    }
};

@@ -21,16 +21,78 @@
 path');%0A
+//const UglifyJSPlugin = require('uglifyjs-webpack-plugin');%0A%0A
 module.e
@@ -204,16 +204,50 @@
 %0A    %7D,%0A
+    devtool: 'inline-source-map',%0A
     modu
@@ -271,16 +271,18 @@
 ders: %5B%0A
+//
         
@@ -394,17 +394,17 @@
 pread')%5D
-%0A
+ 
 %7D %7D%0A    
@@ -414,12 +414,54 @@
  %5D%0A    %7D
+,%0A plugins: %5B%0A//   new UglifyJSPlugin()%0A %5D
 %0A%7D;%0A

update webpack config for dev mode