module.exports = {
    entry: './app/main',
    output: {
        filename: 'bundle.js'
    },
    module: {
        loaders: [{
            test: /\.js$/,
            exclude: /node_modules/,
            loader: 'babel',
            query: {
                presets: ['es2015']
            }
        }]
    }
};

@@ -34,16 +34,19 @@
 app/main
+.js
 ',%0A    o
@@ -66,28 +66,103 @@
     
-filename: 'bundle.js
+path: path.join(__dirname, 'dist'),%0A        filename: 'bundle.js',%0A        publicPath: './dist/
 '%0A  
@@ -198,18 +198,33 @@
 aders: %5B
-%7B
 %0A
+            %7B%0A  
         
@@ -227,16 +227,18 @@
         
+  
 test: /%5C
@@ -244,16 +244,20 @@
 %5C.js$/,%0A
+    
         
@@ -285,16 +285,20 @@
 dules/,%0A
+    
         
@@ -330,16 +330,20 @@
         
+    
 query: %7B
@@ -339,24 +339,28 @@
    query: %7B%0A
+    
             
@@ -383,16 +383,225 @@
 s2015'%5D%0A
+                %7D%0A            %7D,%0A%09    %7B%0A                test: /%5C.css$/,%0A                loader: 'style!css'%0A            %7D,%0A%09    %7B%0A                test: /%5C.(jpg%7Cpng)$/,%0A                loader: 'url?limit=8192'%0A
         
@@ -614,17 +614,16 @@
         
-%7D
 %5D%0A    %7D%0A

Update webpack.config.js