title: Uncaught TypeError: Cannot read property 'webpackHotUpdate' of undefined
body: <p>I'm getting this error when the browser hits the following line in the "webpackified" <code>app.js</code> file:</p>
  
  <pre><code>/******/ (function(modules) { // webpackBootstrap
  /******/    function hotDisposeChunk(chunkId) {
  /******/        delete installedChunks[chunkId];
  /******/    }
  /******/    var parentHotUpdateCallback = this["webpackHotUpdate"];
  </code></pre>
  
  <p>In the last line of this snippet, <code>this</code> is undefined.</p>
  
  <p>Despite this error, the app seems to be running just fine.</p>
  
  <p>I'm not sure what parts of my <code>webpack.config.js</code> file are most relevant, but here are some possibly relevant snippets:</p>
  
  <h3>webpack.config.js</h3>
  
  <pre><code>const HotModuleReplcement = new webpack.HotModuleReplacementPlugin();
  
  ...
  
  module.exports = {
  
    ...
  
    devServer: {
      historyApiFallback: true,
      hot: true,
      inline: true,
      port: 8000,
      open: true,
      proxy: [{
        context: ['/assets', '/api'],
        target: 'http://localhost:4000',
        secure: false
      }]
    },
    plugins: [HotModuleReplcement, HtmlWebpack]
  };
  </code></pre>
  
  <p>Any idea what is happening here?</p>