We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01f6ec0 commit 0dc3edaCopy full SHA for 0dc3eda
static_precompiler/compilers/less.py
@@ -69,7 +69,7 @@ def compile_file(self, source_path):
69
# is not in the same dir as the source file. We fix it here.
70
sourcemap["sourceRoot"] = "../" * len(source_path.split("/")) + posixpath.dirname(source_path)
71
72
- sourcemap["file"] = posixpath.basename(source_path)
+ sourcemap["file"] = posixpath.basename(full_output_path)
73
74
with open(sourcemap_full_path, "w") as sourcemap_file:
75
sourcemap_file.write(json.dumps(sourcemap))
0 commit comments