text: var path = require('path');
  var webpack = require('webpack');
  
  module.exports = {
      entry: './js/main.js',
      output: {
          path: path.resolve(__dirname, 'public/js'),
          filename: 'main.bundle.js',
          publicPath: '/public/'
      },
      module: {
          loaders: [
              {
                  test: /\.js$/,
                  loader: 'babel-loader',
                  query: {
                      presets: ['env']
                  }
              }
          ]
      },
      stats: {
          colors: true
      },
      devtool: 'source-map'
  };