-
Notifications
You must be signed in to change notification settings - Fork 69
Sourcemap paths produced by rework are invalid on Windows #98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@bholloway If so: ni----ce. 👍 |
@rjgotten I made this comment some time ago. Is it the same issue in |
@bholloway One problem with the |
🤦 As I recall the maintainer wasn't exactly respectful of Anyhow please let me know how the Also feel free to keep commenting here too. |
Cool. Thanks for the comment in #97. I will shift back here to discuss in detail and we can return there if there is some conclusions... 🤔 Just thinking of bholloway/adjust-sourcemap-loader#3. Is it that there are these additional Sounds like we will need a simple example project I can debug. |
I've hooked back up my little 'source map spy' loader after |
Ah my fault, sorry. Look here. Okay I will change that and run tests overnight (late here). Presumably I can do do an |
@bholloway Also; can I just congratulate you on the workaround of prepending the |
@rjgotten can you pls monkey patch that line as |
@bholloway |
@bholloway : the same happens on Linux, got this error in Firefox console : Impossible de récupérer la source d’origine : TypeError: NetworkError when attempting to fetch resource.
URL de la source : webpack:///node_modules/@fortawesome/fontawesome-free/scss/fontawesome.scss Changing |
Ah thanks @rjgotten @n-rodriguez. So existing tests passed, I am moving forward with this change to the alpha. Will ping you when its released. |
Great :) |
Ping @rjgotten @n-rodriguez see comment. Please let me know here if you have further feedback. |
Ping @rjgotten @n-rodriguez released |
@bholloway : it's already in production :) |
Sounds good. Pleasure working with you on this. That said I'll add the footnote I've been using to close out the other existing issues 😉 ... Please open a fresh issue for any ongoing problems and link to this one as needed. I'm not opposed to reopening this issue but certainly lets talk with respect to the new version. |
Rework generates bad source map paths on Windows.
Given the piece of logic that calls out to rework:
resolve-url-loader/index.js
Lines 110 to 115 in 7105d8a
If I add some logging of the source map before and after, then here's what I get.
The 'before' from
absSourcemap
(which is stringified intocontentWithMap
):The 'after' from
reworked.map.sources
:Not sure what's going on in there, but something in that library you're depending on is definitely broken as hell.
The text was updated successfully, but these errors were encountered: