When generating a css file from a scss, the inline sourcemap has a reference to the absolute path of the scss on the development machine.
Steps to recreate
Replace this
text with
the steps
to recreate
Current behavior
When generating a css file from a scss, the inline sourcemap has a reference to the absolute path of the scss on the development machine.
This is wrong because:
It exposes the folder structure of the development machine.
If I commit the artifacts (the css files) to version control, compiling the same scss on different machines results in different css.
The path is wrong when the css artifact is deployed.
Expected behavior
I suppose the path to the source map should be relative from the artifact's location.
Installed product versions
Description
When generating a css file from a scss, the inline sourcemap has a reference to the absolute path of the scss on the development machine.
Steps to recreate
Current behavior
When generating a css file from a scss, the inline sourcemap has a reference to the absolute path of the scss on the development machine. This is wrong because:
Expected behavior
I suppose the path to the source map should be relative from the artifact's location.