title: How to exclude uglification for *.min.js in webpack
body: <p>As I already have the minified version of <code>jQuery</code> and <code>React</code>, I do not need the uglification for them. What I want is the <code>bundle.js</code> contains the exact same <code>jquery.min.js</code> and <code>react.min.js</code>. Basically, I would expect <code>webpack</code> just will concatenate them. One more thing, I don't want <code>externals</code>. How can I achieve it?</p>
  
  <pre><code>const webpack = require("webpack");
  
  module.exports = {
    "entry": ["./src/main/index.js"],
    "output": {
      "filename": "[name].js",
      "libraryTarget": "umd"
    },
    "module": {
      "rules": [
        {
          "test": /\.(js|jsx)$/,
          "exclude": /node_modules/,
          "loader": "babel-loader",
          "options": {
            "presets": ["es2015", "react"]
          }
        }
      ]
    },
    "resolve": {
      "alias": {
        "jquery": "jquery/dist/jquery.min.js",
        "React": "react/dist/react.min.js",
        "ReactDom": "react-dom/dist/react-dom.min.js"
      }
    },
    "plugins": [
      new webpack.optimize.UglifyJsPlugin({
        "test": /\.(js)$/,
        "exclude": /node_modules/,
        "compress": true
      }),
    ]
  }
  </code></pre>