var CopyWebpackPlugin = require('copy-webpack-plugin')
var path = require('path')

module.exports = {
  entry: './src/main.js',
  output: {
    path: path.resolve(__dirname, 'build'),
    publicPath: '/static/',
    filename: 'bundle.js'
  },
  module: {
    loaders: [{
      test: /\.js?$/,
      loader: 'babel?stage=0',
      exclude: /node_modules/
    },
    {
      test: /\.css$/,
      loader: 'style-loader!css-loader'
    }]
  },
  plugins: [
    new CopyWebpackPlugin([{
      from: 'dashboard/assets'
    }])
  ]
}

@@ -302,25 +302,27 @@
 ader
+s
 : 
+%5B
 'babel
-?stage=0'
+-loader'%5D
 ,%0A  

update webpack for babel 6