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

Produced source map is invalid. #1413

Open
DamodarSojka opened this issue Aug 1, 2017 · 0 comments
Open

Produced source map is invalid. #1413

DamodarSojka opened this issue Aug 1, 2017 · 0 comments

Comments

@DamodarSojka
Copy link

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
}
}
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant