text: const webpack = require('webpack');
  const merge = require('webpack-merge');
  const baseConfig = require('./webpack.config.base.js');
  
  module.exports = merge(baseConfig, {
    mode: 'production',
    devtool: 'cheap-module-source-map',
    optimization: {
      minimize: true,
    },
    plugins: [
      new webpack.DefinePlugin({
        'process.env.NODE_ENV': JSON.stringify('production'),
      }),
      new webpack.LoaderOptionsPlugin({
        minimize: true,
        debug: false,
      }),
      new webpack.optimize.ModuleConcatenationPlugin(),
    ],
  });
  