-
-
Notifications
You must be signed in to change notification settings - Fork 431
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
Broken sourcemap path #666
Comments
Seems similar to #460 |
@kyle-ssg don't use |
@evilebottnawi Sure. Created a minimal repo that replicates the issue. |
@kyle-ssg what is command you use when you have invalid source map? I see you use |
The sourcemap if you hover over the path in chrome points to /web/web |
@kyle-ssg do you test this on linux? |
Nope, osx. The source map does show the scss but the path is wrong, so you can’t edit and save file from chrome. |
@kyle-ssg can't reproduce on |
Ok, I’ll also try it on a different machine / send a replication video
On Mon, 4 Mar 2019 at 09:32, Evilebot Tnawi ***@***.***> wrote:
@kyle-ssg <https://github.com/kyle-ssg> can't reproduce on osx, what do
you mean "path is wrong"? Anyway i will look this problem in near future,
feel free to investigate and send a PR
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#666 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AINaOi0RY0y80cS0b0XGIRIQ9vtoSi4Zks5vTOgggaJpZM4bBYrs>
.
--
Kyle Johnson
Head of Mobile Development
Solid thinking. State of the art.
Sign up <https://www.getrevue.co/profile/solidstategroup/> for our monthly
take on tech and business
|
Reproduce bug, similar problem webpack-contrib/css-loader#652, investigate who is broken |
Yep, duplicate webpack-contrib/css-loader#652, |
Expected Behavior
Given a file located at /Users/kyle/project/web/styles/components/_stat-card.scss I would expect the sourcemap path to be maintained.
Actual Behavior
Sourcemap outputs a path of /Users/kyle/project/web/styles/web/styles/components/_stat-card.scss
https://github.com/kyle-ssg/sass-loader-bug
Results in:
I was able to temporarily get around this by doing the following in loader.js:
The text was updated successfully, but these errors were encountered: