typescript-lib-example icon indicating copy to clipboard operation
typescript-lib-example copied to clipboard

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

Open bolivier opened this issue 6 years ago • 0 comments

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?

bolivier avatar Mar 18 '19 20:03 bolivier