old_contents: import {join} from 'path';
  import webpack from 'webpack';
  
  process.env.BABEL_ENV = 'browser';
  
  function config(production) {
    return {
      devtool: production ? 'hidden-source-map' : 'eval-source-map',
      entry: './src/index.js',
      output: {
        path: join(__dirname, 'build'),
        library: 'WHS',
        libraryTarget: 'umd',
      },
      module: {
        loaders: [
          {
            test: /\.js$/,
            exclude: /node_modules/,
            loader: 'babel',
          },
        ],
      },
      plugins: production
        ? [
          new webpack.optimize.DedupePlugin(),
          new webpack.optimize.UglifyJsPlugin({
            mangle: false,
            compress: {
              warnings: false,
            },
          }),
        ]
        : [],
    };
  }
  
  export {
    config as default,
  };
  
new_contents: import {join} from 'path';
  import webpack from 'webpack';
  
  process.env.BABEL_ENV = 'browser';
  
  function config(production) {
    return {
      devtool: production ? 'hidden-source-map' : 'eval-source-map',
      entry: './src/index.js',
      output: {
        path: join(__dirname, 'dist'),
        library: 'WHS',
        libraryTarget: 'umd',
      },
      module: {
        loaders: [
          {
            test: /\.js$/,
            exclude: /node_modules/,
            loader: 'babel',
          },
        ],
      },
      plugins: production
        ? [
          new webpack.optimize.DedupePlugin(),
          new webpack.optimize.UglifyJsPlugin({
            mangle: false,
            compress: {
              warnings: false,
            },
          }),
        ]
        : [],
    };
  }
  
  export {
    config as default,
  };
  
subject: Fix typo