Skip to content

Could not resolve import path in my ts file when build with @rollup/plugin-typescript #1467

@ederzz

Description

@ederzz

Reproduce code:
https://github.com/ederzz/testrollup/tree/master

When i run npm run dev,i got the error:

Error [RollupError]: Could not resolve "./types" from "src/vm.ts"

Would someone help me to fix it.Thx.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions