Skip to content
This repository was archived by the owner on Mar 26, 2018. It is now read-only.

Produced source map is invalid. #1413

@DamodarSojka

Description

@DamodarSojka

I am not sure if the issue is caused specifically by generator-angular but given the userbase of it I think it is fair to post an issue here.

The produced source maps are invalid according to https://sourcemaps.io and to support team at Sentry.

Sources property in the source map is incorrect:
"sources":["../../.tmp/concat/scripts/vendor.js"].

After manual fix https://sourcemaps.io reports another problem:
SourceMap thinks that line 16 of scripts.c1767f72.js is a thing, but it's not.
Your sourcemap is referencing a line that does not exist.

In order to reproduce just pass an option to create source maps to uglify:
uglify: {
generated: {
options: {
sourceMap: true
}
}
}

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