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

Invalid sourcemap generation #9

Open
Toilal opened this issue May 23, 2017 · 1 comment
Open

Invalid sourcemap generation #9

Toilal opened this issue May 23, 2017 · 1 comment

Comments

@Toilal
Copy link
Contributor

Toilal commented May 23, 2017

I think there's an issue with sourcemap generation.

In some case, I'm not able to set breakpoint in some part of the file processed by vue-hot-reload-loader. When I disable this loader, it works properly, so i'm pretty sure the issue comes from this module.

Maybe we could replace AST + estraverse with recast, as it seems to support sourcemap properly through the whole parse + replacement process ...

@ktsn
Copy link
Owner

ktsn commented May 29, 2017

@Toilal
Sorry, I don't have enough time to investigate about source map generation of recast now.
If you have confidence that it improves the generated source map, feel free to go ahead.

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

No branches or pull requests

2 participants