text: module.exports = {
    entry: './index.js',
  
    output: {
      path: './dist',
      filename: 'bundle.js'
    },
  
    resolve: {
      extensions: ['', '.js', '.jsx']
    },
  
    module: {
      loaders: [
        { test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader?presets[]=es2015&presets[]=react' }
      ]
    }
  };
  