text: var CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin');
  const webpack = require('webpack');
  
  module.exports = {
    entry: [
      'react-hot-loader/patch',
      './src/index.js'
    ],
    module: {
      rules: [
        {
          test: /\.modernizrrc$/,
          use: ['modernizr-loader'],
        },
        {
          test: /\.(js|jsx)$/,
          exclude: /node_modules/,
          use: [{
            loader: 'babel-loader',
            // options: {
            //   plugins: ['transform-class-properties', 'transform-react-jsx-source']
            // }
          }]
        },
        {
          test: /\.css$/,
          use: [
            'style-loader',
            {
              loader: 'css-loader',
              options: {
                sourceMap: true
              }
            },
            {
              loader: 'postcss-loader',
              options: {
                sourceMap: true,
              },
            },
          ]
        },
        {
          test: /\.scss$/,
          use: ["style-loader", "css-loader", "sass-loader"]
        }
      ]
    },
    resolve: {
      extensions: ['*', '.js', '.jsx'],
      modules: [
        'src',
        'node_modules'
      ]
    },
    output: {
      path: __dirname + '/dist',
      publicPath: '/',
      filename: 'bundle.js'
    },
    plugins: [
      new webpack.ProvidePlugin({
        _: 'lodash',
        React: 'react',
        PropTypes: 'prop-types',
      }),
      new CaseSensitivePathsPlugin()
    ],
  };
  