Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script sourcemap line numbers are off #46

Closed
Akryum opened this issue Jul 10, 2016 · 3 comments
Closed

Script sourcemap line numbers are off #46

Akryum opened this issue Jul 10, 2016 · 3 comments
Assignees
Labels
Milestone

Comments

@Akryum
Copy link
Collaborator

Akryum commented Jul 10, 2016

Start at 1 with the begining of the script tag instead of the begining of the file.

@Akryum Akryum added the bug label Jul 10, 2016
@Akryum Akryum self-assigned this Jul 10, 2016
@Akryum Akryum mentioned this issue Jul 10, 2016
@Akryum Akryum added this to the 1.0-beta1 milestone Jul 10, 2016
@Akryum Akryum modified the milestones: 1.0.0-beta.2, 1.0.0-beta.1 Sep 28, 2016
@MartinBucko
Copy link
Contributor

+1 on this, also there is problem with coffee-script files, it don't show correct line with compilation error. Just show first line where start script..

@mitar
Copy link
Member

mitar commented Jan 1, 2017

Oh, I spent quite some time debugging my code because of this issue. Really misleading errors.

@Akryum
Copy link
Collaborator Author

Akryum commented Jan 2, 2017

@benjamn I'm struggling to use the full .vue files content as the base for the sourceMap option of addJavaScript. It's always end up with only the JavaScript part of the file (and thus wrong line numbers compared to the original file).

@Akryum Akryum closed this as completed in d906c54 Jan 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Roadmap v1.0
Other Issues
Development

No branches or pull requests

3 participants