Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
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

Description

@clark-t

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions