title: Module not found: Error: Cannot resolve module 'react' when I use webpack
body: <p>would really appreciate help on this one:
  I'm unable to build using webpack, I get a short list of errors starting with:</p>
  
  <pre><code>Module not found: Error: Cannot resolve module 'react' in ../client/front_desk.jsx
  </code></pre>
  
  <p>and then ending up with a long list that looks like:</p>
  
  <pre><code>Module not found: Error: Cannot resolve 'file' or 'directory' ../node_modules/process/browser.js
  </code></pre>
  
  <p>Here's my webpack.config.js:</p>
  
  <pre><code>const webpack = require('webpack');
  const commonsPlugin = new webpack.optimize.CommonsChunkPlugin('common.js');
  
  module.exports = {
    entry: {
      front_desk: './front/client/front_desk',
    },
    resolve: {
      extensions: ['.js', '.jsx'],
    },
    output: {
      path: 'front/public/js',
      filename: '[name].js', // Template based on keys in entry above
    },
    module: {
      loaders: [
        {
          test: /\.(jsx|js)?$/,
          loader: 'babel',
          query: {
            presets: ['es2015', 'react'],
          },
        },
      ],
    },
    plugins: [commonsPlugin],
  };
  </code></pre>
  
  <p>And my .babelrc:</p>
  
  <pre><code>{
    "plugins": ["syntax-jsx"],
    "presets": ["react", "es2015"],
  }
  </code></pre>
  
  <p>And my dependencies list in package.json:</p>
  
  <pre><code>  "dependencies": {
      "aguid": "*",
      "babel-plugin-syntax-jsx": "*",
      "babel-preset-es2015": "*",
      "babel-preset-react": "*",
      "babel-register": "*",
      "bcrypt": "*",
      "eslint": "*",
      "eslint-config-airbnb": "^8.0.0",
      "eslint-plugin-import": "^1.6.1",
      "eslint-plugin-jsx-a11y": "^1.0.4",
      "eslint-plugin-react": "^5.0.1",
      "hapi": "*",
      "hapi-react-views": "^7.0.0",
      "inert": "*",
      "isomorphic-fetch": "*",
      "mailparser": "*",
      "mandrill-api": "*",
      "mongodb": "*",
      "nodemon": "*",
      "react": "^15.0.2",
      "react-dom": "^15.0.2",
      "react-redux": "*",
      "redux": "*",
      "redux-thunk": "*",
      "twilio": "*",
      "vision": "*",
      "webpack-dev-server": "^1.14.1"
    },
    "devDependencies": {
      "babel-core": "*",
      "babel-loader": "*",
      "faucet": "*",
      "jsx-loader": "^0.13.2",
      "nodemon": "*",
      "tape": "*",
      "webpack": "*"
    }
  </code></pre>