title: "Content and Map of this Source is not available" error after upgrading to Webpack 5
body: <p>My project was working fine. When I upgraded to Webpack 5 this issue occurred. I searched online, but all the discussions seem to be from a previous version and I even tried the workarounds specified, but to no avail.</p>
  <blockquote>
  <p>\SourceCode\node_modules\webpack\node_modules\webpack-sources\lib\SizeOnlySource.js:26
  throw this._error();
  ^
  Error: Content and Map of this Source is not available (only size() is supported)</p>
  </blockquote>