You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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 inpackage.json
fromindex.js
tolib/index.js
, but this makes the whole point of compiling different targets pointless.What is the appropriate mechanism to choose which output to use?
The text was updated successfully, but these errors were encountered: