text: const {merge} = require('webpack-merge');
  const common = require('./common.config.js');
  const webpack = require('webpack');
  const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
  
  module.exports = merge(common('prod'), {
      plugins: [
          new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production') }),
          new UglifyJSPlugin({
              uglifyOptions: {
                  output: {
                      comments: false
                  }
              }
          }),
      ],
      mode: 'production',
  });