Skip to content

Can't be loaded into project without specifying which outputDir in package.json #2

@bolivier

Description

@bolivier

I added this project to a package.json, and after importing the file, my project no longer compiled because it couldn't find typescript-lib-example.

To fix it, I changed the main entry in package.json from index.js to lib/index.js, but this makes the whole point of compiling different targets pointless.

What is the appropriate mechanism to choose which output to use?

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