text: var webpack = require('webpack')
  var merge = require('webpack-merge')
  var base = require('./webpack.config.base')
  var path = require('path')
  
  var outputFile = 'mw-toolbox'
  var globalName = 'MwToolbox'
  
  module.exports = merge(base, {
    output: {
      path: path.resolve(__dirname, '../dist'),
      filename: outputFile + '.browser.js',
      library: globalName,
      libraryTarget: 'umd',
    },
    externals: {
      // Put external libraries like lodash here
      // With their global name
      // Example: 'lodash': '_'
    },
    plugins: [
      new webpack.optimize.UglifyJsPlugin({
        compress: {
          warnings: true,
        },
        mangle: false,
      }),
    ],
  })
  