Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Version 4 doesn't generate sourcemap. #194

Closed
clark-t opened this issue May 10, 2018 · 1 comment
Closed

Version 4 doesn't generate sourcemap. #194

clark-t opened this issue May 10, 2018 · 1 comment

Comments

@clark-t
Copy link

clark-t commented May 10, 2018

Expected behavior

plugin's transform function returns {code, map}

Actual behavior

transform function returns only code like {code}

and the console warns with messages:

Sourcemap is likely to be incorrect: a plugin ('vue.delegate') was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help

Steps to reproduce the behavior

when update to v4,my project's source map could not work,it is caused by the dependency module vue-component-compiler's assembler that only return {code}.

@ParallelUniv3rse
Copy link

Are there any updates on this issue? Is there a fix rolling out anytime soon?

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

No branches or pull requests

3 participants