Skip to content

main need to change for typescript/javascript #4256

Answered by anthonyshew
trixobird asked this question in Help
Discussion options

You must be logged in to vote

No, because the package needs to have its exports explicitly marked when working within the bounds of the repository.

I'd encourage you to use ./dist/index.js in this case, and use tsc --watch for your dev script. That way, both builds and local development will be able to use ./dist/index.js.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@trixobird
Comment options

@anthonyshew
Comment options

Answer selected by anthonyshew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants