text: const path = require('path');
  
  const CopyWebpackPlugin = require('copy-webpack-plugin');
  const autoprefixer = require('autoprefixer');
  
  module.exports = {
    entry: ['./src/index.jsx'],
    output: {
      path: path.resolve(__dirname, 'dist'),
      filename: 'bundle.js',
      publicPath: '',
    },
    module: {
      loaders: [
        {
          test: /\.jsx?$/,
          exclude: /(node_modules|bower_components)/,
          loaders: ['babel-loader'],
        },
        {
          test: /\.scss$/,
          loaders: ['style', 'css?modules&importLoaders=1&sourceMap!postcss!sass?sourceMap&sourceMapContents'],
        },
        {
          test: /\.json$/,
          exclude: /(node_modules|bower_components)/,
          loader: 'json-loader',
        },
      ],
    },
    plugins: [
      new CopyWebpackPlugin([
        {from: 'index.html'},
      ]),
    ],
    resolve: {
      extensions: ['', '.js', '.jsx'],
    },
    devtool: 'inline-source-map',
    postcss: [autoprefixer],
  };
  