Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Sourcemap pointing to incorrect file when sass is compressed #5613

Closed
david10sing opened this issue Mar 9, 2023 · 1 comment
Closed

Sourcemap pointing to incorrect file when sass is compressed #5613

david10sing opened this issue Mar 9, 2023 · 1 comment
Labels
bug Something on the site is broken! P2 A normal priority task. This is the default for most issues.

Comments

@david10sing
Copy link

Describe the bug
Sass sourcemaps are pointing to the wrong file.

Here is an issue on the dart-sass repo tracking this. sass/dart-sass#1896.

I have tried this - sass/dart-sass#1896 (comment) - as well and it does indeed point to the correct file. However, in chrome devtools, it is pointing to the incorrect file.

To Reproduce

  • Please follow steps in the README file in the issue linked above

Expected behavior
When inspecting elements in chrome devtools, .index should point to index.scss instead of _test.scss

Desktop (please complete the following information):

  • OS: MacOS
  • Browser Chrome
  • Version 110
@david10sing david10sing added bug Something on the site is broken! P2 A normal priority task. This is the default for most issues. labels Mar 9, 2023
@david10sing david10sing changed the title Sourcemap pointing to incorrect file Sourcemap pointing to incorrect file when sass is compressed Mar 9, 2023
@matthiasrohmer
Copy link
Collaborator

This repository does only handle bug reports and feature requests towards the site developer.chrome.com. For all other questions please use Stack Overflow with the tag Google Chrome, if related to Chrome. For bug reports towards Chrome the product, please use the Chromium Bug Tracker.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something on the site is broken! P2 A normal priority task. This is the default for most issues.
Projects
None yet
Development

No branches or pull requests

2 participants