Skip to content

Getting error in aliased import paths in package #563

@bchiong

Description

@bchiong

Hi,

Is there a way to resolve this error when using aliased import paths?

"{import}" is imported by "{path}" but the package is not specified in dependencies or peerDependencies

import { component } from '#path/to/component';

I have an import statement which get resolved through tsconfig and eslint but when I run preconstruct build I get an error.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions