text: var path = require('path');
  var webpack = require('webpack');
  
  
  module.exports = {
    entry: {     
      app: path.resolve(__dirname, 'src/main.js'),
      vendors: ['react']
    },
    output: {
      path: path.resolve(__dirname, 'build'),
      filename: 'bundle.js',
    },
    module: {
      loaders: [
        {
          test: /.jsx?$/,
          loader: 'babel-loader',
          exclude: /node_modules/,
          query: {
            presets: ['es2015', 'react']
          }
        }
      ]      
    },
    plugins: [
      new webpack.optimize.CommonsChunkPlugin('vendors', 'vendors.js')
    ]
  };