Skip to content

Module resolution error in external script #186

Open
@linden5

Description

@linden5

Reproduction: vue-jest-external-script-resolve-error-repro

It seems that when using external script, modules are resolved based on the location of the vue file, rather than the script file.

This error only appears in unit test. yarn build and yarn serve works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions