text: const path = require('path');
  
  const BUILD_DIR = path.resolve(__dirname, 'www');
  const APP_DIR = path.resolve(__dirname, 'src');
  
  const config = {
    entry: `${APP_DIR}/main.jsx`,
    output: {
      path: BUILD_DIR,
      filename: 'bundle.js'
    },
    module: {
      preLoaders: [
        {
          test: /\.jsx$|\.js$/,
          loader: 'eslint-loader',
          include: APP_DIR,
          exclude: BUILD_DIR
        }
      ],
      loaders: [
        {
          test: /\.jsx?/,
          exclude: /node_modules/,
          include: APP_DIR,
          loader: 'babel'
        }
      ]
    }
  };
  
  module.exports = config;
  