text: const path = require('path')
  
  const BUILD_DIR = path.resolve(__dirname, 'public', 'js')
  const APP_DIR = path.resolve(__dirname, 'src', 'react')
  
  const config = {
      entry: `${APP_DIR}/main.jsx`,
      output: {
          path: BUILD_DIR,
          filename: 'bundle.js',
      },
      module: {
          loaders: [
              {
                  test: /\.jsx?/,
                  include: APP_DIR,
                  loader: 'babel-loader',
              },
              {
                  test: /\.css$/,
                  loader: 'style-loader!css-loader',
              },
          ],
      },
  }
  
  module.exports = config
  