Open guypassy opened 11 months ago
For those, who is still looking for the answer to this issue. This behaviour is intended and seems correct, as long as a sourcemap is a document, helping developers to map one statement in source code to another in the generated one.
So, if this (generateMap) function would return a generated code, you wouldn't know what was the source one.
"magic-string": "^0.30.5",
generateMap
is not affected by any changes made to the value in the magic string.Results in: