text: var path = require('path')
  
  module.exports = {
    entry: './src/js/app.js',
    output: {
      filename: 'build.js',
      path: path.resolve(__dirname, 'dist')
    },
    devServer: {
      contentBase: path.join(__dirname, 'src'),
      watchContentBase: true,
      port: 4000,
      public: 'localhost:4000'
    },
    devtool: 'cheap-eval-source-map',
    module: {
      rules: [
        {
          // set up standard-loader as a preloader
          enforce: 'pre',
          test: /\.jsx?$/,
          loader: 'standard-loader',
          exclude: /(node_modules)/,
          options: {
            // Emit errors instead of warnings (default = false)
            error: false,
            // enable snazzy output (default = true)
            snazzy: true
          }
        },
        {
          test: /\.css$/,
          loader: 'style-loader!css-loader'
        },
        {
          test: /\.(png|svg|jpg|gif)$/,
          use: [
            'file-loader'
          ]
        }
      ]
    }
  }
  