text: const path = require('path');
  const webpack = require('webpack');
  
  module.exports = {
    entry: path.join(__dirname, 'app', 'app.js'),
    output: {
      path: `${__dirname}/app`,
      filename: 'app.js',
      publicPath: '/static/',
    },
    module: {
      loaders: [
        {
          test: /\.js$/,
          exclude: /node_modules/,
          loader: 'babel',
          query: {
            presets: ['es2015', 'react'],
          },
        },
        {
          test: /\.css$/,
          loader: 'style-loader!css-loader',
        },
      ],
    },
    resolve: {
      alias: {
        'react-easy-paginate': path.join(__dirname, '..', 'src'),
        'react-easy-paginate.css': path.join(__dirname, '..', 'react-easy-paginate.css'),
      },
    },
    plugins: [
      new webpack.DefinePlugin({
        'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'development'),
      }),
    ],
  };
  