Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
iainmerrick
on Sept 24, 2023
|
parent
|
context
|
favorite
| on:
TypeScript NPM Packages Done Right
It should work as you expect if you set “main” to “dist/index.js” in your package.json. If you tried that, some other strange thing must have been going wrong. Your workaround sounds fine but ideally you shouldn’t need it, yeah.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: