Skip to content

Is it possible to load sourcesContent from an existing sourceMap? #3

@morganpackard

Description

@morganpackard

Hi there!

Thanks for your really helpful library! I'd like to use it to merge sourcemaps with embedded sourcesContent data. However, it looks like sourcesContent is discarded when a sourcemap is loaded from a file. More specifically, I see that sourcesContent is not copied into the context object.

Can you confirm that your library doesn't currently support loading sourcesContent from a file?

If not, is there any reason I shouldn't go ahead and add this functionality? It looks fairly straightforward.

thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions