title: Cannot find module '@babel/preset-plugin-transform-object-assign'
body: <p>I just installed '@babel/preset-plugin-transform-object-assign', but it seems like webpack doesn't recognize it. I get this error when trying to build my project:</p>
  
  <blockquote>
    <p>Error: Cannot find module
    '@babel/preset-plugin-transform-object-assign' </p>
  </blockquote>
  
  <p>These are my .babelrc and package.json:</p>
  
  <p>.babelrc</p>
  
  <pre><code>{
    "presets": ["@babel/preset-env", "@babel/preset-react", "@babel/plugin-transform-object-assign"]
  }
  </code></pre>
  
  <p>package.json</p>
  
  <pre><code>{
    "name": "temp",
    "version": "1.0.0",
    "main": "index.js",
    "scripts": {
      "watch": "webpack -w --mode development --progress --color --display-error-details",
      "build": "webpack --mode production"
    },
    "keywords": [],
    "author": "",
    "license": "ISC",
    "description": "",
    "devDependencies": {
      "@babel/core": "^7.0.0",
      "@babel/plugin-transform-object-assign": "^7.0.0",
      "@babel/preset-env": "^7.0.0",
      "@babel/preset-react": "^7.0.0",
      "babel-loader": "^8.0.2",
      "react": "^16.4.2",
      "react-dom": "^16.4.2",
      "react-redux": "^5.0.7",
      "redux": "^4.0.0",
      "redux-logger": "^3.0.6",
      "redux-thunk": "^2.3.0",
      "webpack": "^4.17.1",
      "webpack-cli": "^3.1.0"
    }
  }
  </code></pre>