text: var webpack = require('webpack');
  var path = require('path');
  
  module.exports = {
    entry: './src/index.js',
    output: {
      path: path.join(__dirname, 'lib'),
      filename: 'index.js',
      libraryTarget: 'umd',
      library: 'hubskimd',
      umdNamedDefine: true
    },
    resolve: {
      modulesDirectories: [
        'node_modules'
      ],
      extensions: ['', '.js']
    },
    module: {
      loaders: [
        {
          test: /\.js$/,
          include: path.resolve(__dirname, 'src'),
          exclude: path.resolve(__dirname, 'node_modules'),
          loader: 'babel',
          query: {
            presets: ['es2015', 'stage-0']
          }
        },
        {
          test: /\.json$/,
          loader: 'json'
        }
      ]
    },
    plugins: [
      new webpack.optimize.UglifyJsPlugin({ minimuze: true })
    ]
  }
  