text: var path = require("path");
  var CopyWebpackPlugin = require("copy-webpack-plugin");
  
  module.exports = {
    entry: {
      app: [
        './src/index.js'
      ]
    },
  
    output: {
      path: path.resolve(__dirname + '/dist'),
      filename: '[name].js',
    },
  
    module: {
      loaders: [
        {
          test: /\.(css|scss)$/,
          loaders: [
            'style-loader',
            'css-loader',
          ]
        },
        {
          test:    /\.html$/,
          exclude: /node_modules/,
          loader:  'file?name=[name].[ext]',
        },
        {
          test:    /\.elm$/,
          exclude: [/elm-stuff/, /node_modules/],
          loader: 'elm-hot!elm-webpack'
        },
        {
          test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/,
          loader: 'url-loader?limit=10000&mimetype=application/font-woff',
        },
        {
          test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
          loader: 'file-loader',
        },
        {
          test: /\.(png|jpg)$/,
          loader: 'file-loader'
        }
      ],
  
      noParse: /\.elm$/,
    },
  
    plugins: [
      new CopyWebpackPlugin([
        { from: 'src/static/images', to: 'images/' }
      ])
    ],
  
    devServer: {
      inline: true,
      historyApiFallback: true,
      stats: 'errors-only',
    },
  
  };
  