You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some libraries (i.e. nearly all created via Scala.JS) have URLs in their source maps. However when being used with webpack, webpack is prepending a ./ to all the URLs results in trillions of warnings like this:
Do you want to request a feature or report a bug?
Bug.
What is the current behavior?
Some libraries (i.e. nearly all created via Scala.JS) have URLs in their source maps. However when being used with webpack, webpack is prepending a
./
to all the URLs results in trillions of warnings like this:And resulting in a final source map that no longer works for those libraries.
If the current behavior is a bug, please provide the steps to reproduce.
Setup any dummy project with Scala.JS and scalajs-bundler which runs everything through webpack.
What is the expected behavior?
Source map links that can be identified as absolute URLs should be used as is, without modification.
I believe the fix would be a very simple test like this before prepending:
https://github.com/jantimon/html-webpack-plugin/pull/619/files
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
Using webpack 2.2.1, Node.JS 7.7.3.
This issue was moved from webpack/webpack#4518 by @evilebottnawi. Original issue was by @japgolly.
The text was updated successfully, but these errors were encountered: