text: let webpack = require('webpack');
  let path = require('path');
  let publicPath = "/";
  let helpers = require('../helpers');
  let combineLoaders = require('webpack-combine-loaders');
  
  let ExtractTextPlugin = require('extract-text-webpack-plugin');
  
  module.exports = {
      devtool: 'eval-source-map',
  
      entry: [
          helpers.root('/main.jsx')
      ],
  
      output: {
          path: helpers.root('/public'),
          filename: '[name].bundle.js',
          publicPath: publicPath
      },
  
      module: {
          loaders: [
              {
                  test: /\.json$/,
                  loader: "json-loader"
              },
              {
                  test: /\.jsx?$/,
                  exclude: /node_modules/,
                  loader: 'babel-loader',
                  query: {
                      presets: ['es2015', 'react']
                  }
              },
              {
                  test: /\.css$/,
                  loader: combineLoaders([
                      {
                          loader: 'style-loader'
                      }, {
                          loader: 'css-loader',
                          query: {
                              modules: true,
                              localIdentName: '[name]__[local]___[hash:base64:5]'
                          }
                      }
                  ])
              },
              {
                  test: /\.(png|jpe?g|gif|svg)$/,
                  loader: 'file-loader?name=images/[name].[ext]'
              },
              {
                  test: /\.woff$/,
                  loader: 'file-loader?name=fonts/[name].[ext]'
              }
          ]
      },
      resolve: {
          extensions: ['.js', '.jsx']
      }
  };