text: const webpack = require('webpack')
  
  module.exports = {
    output: {
      library: 'ReactPrelodr',
      libraryTarget: 'umd',
      umdNamedDefine: true
    },
  
    module: {
      loaders: [
        {
          test: /\.js$/,
          exclude: /(node_modules|bower_components)/,
          loader: 'babel-loader'
        }
      ]
    },
  
    plugins: [
      new webpack.DefinePlugin({
        'process.env.NODE_ENV': JSON.stringify(
          process.env.NODE_ENV || 'development'
        )
      })
    ]
  }
  