text: import webpack from 'webpack';
  import UglifyJsPlugin from 'uglifyjs-webpack-plugin';
  import merge from 'webpack-merge';
  import webpackConfig from './webpack.config';
  
  module.exports = merge(webpackConfig, {
    watch: false,
    devtool: 'source-map',
    plugins: [
      new webpack.DefinePlugin({
        'process.env.NODE_ENV': JSON.stringify('production')
      }),
      new UglifyJsPlugin({
        sourceMap: true
      })
    ]
  });
  