var path = require('path');

module.exports = {
  entry: path.resolve(__dirname, '../src/client/scripts/client.js'),
  output: {
    path: path.resolve(__dirname, '../dist'),
    filename: 'bundle.js'
  },

  module: {
    loaders: [
      {
        test: /src\/.+[.js]$/,
        exclude: /node_modules/,
        loader: 'babel'
      }
    ]
  }
};

@@ -261,13 +261,11 @@
 %5C/.+
-%5B
 .js
-%5D
 $/,%0A

Improve webpack babel test regexp