module.exports = {
	module: {
	  loaders: [
	    {
	      test: /\.jsx?$/,
	      exclude: /(node_modules|bower_components)/,
	      loader: 'babel', // 'babel-loader' is also a legal name to reference
	      query: {
	        presets: ['react', 'es2015']
	      }
	    }
	  ]
	},
	entry: {
    app: ["./src/index.jsx"]
  },
  output: {
    path: "dist/",
    publicPath: "dist",
    filename: "index.js"
  }
}
