Skip to content

(dts): imports from devDependencies are not inlined in output declaration. #48

@NamesMT

Description

@NamesMT

Environment

obuild: 0.2.1

Reproduction

Import some stuff from a dev dependency, and run build.

Describe the bug

In the output *.d.mts, imports are still imported from the dependency instead of inlining, which results in an error for end-user.

Additional context

unbuild handle this ok.

unbuild:

Image

obuild:

Image

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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