Double sass in path in map file
See original GitHub issueOriginal post
Hi Guys, Could you help me a bit to understand why compiler generating wrong source path in map file?
I have nested folder with scss and different one for css. CSS files are generated fine and in proper place, but my map file contains wrong path inside.
Part of wrong map file style.css.map:
{"version":3,"sources":["../sass/sass/hold/style.scss","../sass/hold/style.scss","../sass/sass/bootstrap/mixins/_vendor-prefixes.scss","../sass/sass/bootstrap/_variables.scss"],"names":[],"mappings":.........}
I want to avoid this double /sass/sass/
in first path. Could you help me a bit?
Here is my structure:
My settings:
"liveSassCompile.settings.formats": [
// This is the default.
{
"format": "expanded",
"extensionName": ".css",
// null for all three -> denotes the same path as the SASS file
"savePath": "themes/hold/css/",
"savePathSegmentKeys": null,
"savePathReplaceSegmentsWith": null
}
Tasks for 5.2 release
- Find cause
- Apply fix
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Maps - Sass
Maps in Sass hold pairs of keys and values, and make it easy to look up a value by ... Every map counts...
Read more >sass compile css to multiple locations - Stack Overflow
I would like to make sass --watch compile the same sass into 2 identical css files in 2 separate locations. E.g sass --watch...
Read more >Sourcemap sources have wrong paths · Issue #731 - GitHub
With the built-in command sass --update ./public/css/desktop , in sass, it creates the map files with the correct sources urls. Here is the...
Read more >Sass, SCSS, and Less | PyCharm Documentation - JetBrains
As a result, two files are generated and shown nested under Page.scss: Page.css with compiled CSS code. Page.css.map with source maps that ...
Read more >Sass · Bootstrap v5.0
Utilize our source Sass files to take advantage of variables, maps, mixins, ... You have two options: include all of Bootstrap, or pick...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @DvdRom87,
Sorry for the delay. It has been a bit of a crazy couple of months - moving, new baby, work, uni studies - which has pushed these things to the back burner.
I was also waiting on #151 to confirm that the fix worked, this way I can push it in this release. But the change should fix the top-level problem and more work may be needed to address their other concerns, so I’ll push an official release tonight.
Hi, i just wanted to ask when the update is pushed? I really would like this issue to be fixed 😬
Thanks for the great work.