title: How to get more detail than 'Webpack Compilation Error' with Cypress?
body: <p>Whenever there is an error inside one of my imported modules, all I get from Cypress is the message <code>Error: Webpack Compilation Error</code>. There doesn't seem to be a useful error stack anywhere so it is incredibly frustrating to have to hunt down the source of the error. I was wondering if there is a way of getting more details on the error?</p>
  <p>I'm writing the tests in TypeScript and using <a href="https://github.com/cypress-io/cypress-webpack-preprocessor" rel="noreferrer">cypress-webpack-preprocessor</a> to compile the test code.</p>
  <p>Here is the <code>webpack.config.js</code> that I'm passing to cypress-webpack-preprocessor:</p>
  <pre class="lang-js prettyprint-override"><code>module.exports = {
    mode: 'development',
    module: {
      rules: [
        {
          test: /\.tsx?$/,
          exclude: [/node_modules/],
          use: [
            {
              loader: 'ts-loader'
            }
          ]
        }
      ]
    },
    resolve: {
      extensions: ['.ts', '.tsx', '.js']
    }
  };
  </code></pre>
  <p>Here is the screenshot of the lovely error message:</p>
  <p><a href="https://i.stack.imgur.com/R5upz.png" rel="noreferrer"><img src="https://i.stack.imgur.com/R5upz.png" alt="enter image description here" /></a></p>