Skip to content

sourceMappingURL from the last file is left over in the concatenated file. #75

@Eketol

Description

@Eketol

Hi, I'm concatenating two files: "myapp.libs.source.js" and "myapp.source.js".
Both files contain their own sourceMappingURL.

After concatenate the files, the sourceMappingURL from the last file is included in the concatenated file, so I end up with two sourceMappingURLs:

//# sourceMappingURL=myapp.source.js.map
//# sourceMappingURL=myapp.map

Only the sourceMappingURL from the concatenated file should be included.

I use a plugin for VisualStudioCode called "SourceMapVisualization" and I have to remove the first sourceMappingURL every time, to make it work properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions