Skip to content

ts-loader doesnot pick up definitions from the typings field in package.json if the main field points to a .ts file #250

@bipinpoudyal

Description

@bipinpoudyal

ts-loader is loading the typings if the main field points to a js file but if it points to a ts file, it doesnot load the typings folder. I have created a sample project with the recreation steps.

I tried compiling the same using tsc and it compiles properly without any issues.

Refer to #170 for a discussion on the same issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions