title: Webpack 4 - Sourcemaps
body: <p>This article <a href="https://medium.com/webpack/webpack-4-mode-and-optimization-5423a6bc597a" rel="noreferrer">webpack 4: mode and optimization</a> seems to suggest that when <code>mode</code> is set to <code>development</code> the <code>devtool</code> is set to <code>eval</code>.</p>
  
  <p>I was expecting this to trigger sourcemap generation but running the <a href="https://github.com/valentinogagliardi/webpack-4-quickstart" rel="noreferrer">webpack-4-quickstart</a> in either <code>development</code> or <code>production</code> mode results in no sourcemaps being generated.</p>
  
  <p>How can I generate sourcemaps with webpack 4?</p>