Skip to content

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

Open
@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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      Can't be loaded into project without specifying which outputDir in package.json · Issue #2 · elboman/typescript-lib-example