Skip to content

config to override sourceRoot #414

Closed

Description

@Toxicable

I have a case where our source maps require using the sourceRoot property to get back to the actual source file for a NodeJS program.
However, we can't compute the sourceRoot at build time, it's only known at runtime.
Would it make sense for source-map to add some config where you can set the sourceRoot source maps being read, either overriding or setting it as the default sourceRoot
This would be used with the downstream lib source-map-support for source maps in stack traces

Related issue: bazel-contrib/rules_nodejs#823 (comment)

Activity

  1. Toxicable commented on Jan 4, 2020

    @Toxicable
    Author

    I don't think this is needed, for our use case anymore.
    See microsoft/vscode-chrome-debug-core#549

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions