text: var webpack = require('webpack');
  
  module.exports = {
    entry: [
      'babel-polyfill',
      'react-hot-loader/patch',
      './examples/index.jsx'
    ],
    output: {
      filename: 'bundle.js'
    },
    module : {
      rules: [
        {
          test: /\.jsx?$/,
          use: {
            loader: 'babel-loader',
            options: {
              "presets" : [["env", {"modules": false}], "react"],
              "plugins": ["react-hot-loader/babel"]
            }
          },
          exclude: /node_modules/,
        },
        {
          test: /\.css$/,
          use: [ 'style-loader', 'css-loader' ]
        }
      ]
    },
    plugins: [
      new webpack.NamedModulesPlugin(),
      new webpack.HotModuleReplacementPlugin()
    ],
    devServer: {
        contentBase: './examples',
        hot: true,
        port: 3000
      },
    resolve: {
      extensions: ['.js', '.jsx'],
    },
  };
  