Skip to content

Question - Module Imports Using @template can't be resolved without compiling #9

@luongjames8

Description

@luongjames8

Thanks for this. I've been pulling my hair out trying to resolve the imports on my own monorepo.

Quick question. For this package, I find that I must compile the TS to JS before imports using @template/service-template are able to find anything. Presumably this is because it's importing as a module, the IDE needs to see the JS in the build folder. But somehow the IDE will point back to the typescript in the src.

Is this the expected behaviour? Is there anyway to get the reference without compiling?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions