Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
spankalee
9 months ago
|
parent
|
context
|
favorite
| on:
Run TypeScript code without worrying about configu...
Does this just pass the --experimental-strip-types flag to node?
webstrand
9 months ago
|
next
[–]
Last I knew, it did the transpilation itself so that it could handle module path resolution manually.
basetensucks
9 months ago
|
parent
|
next
[–]
It does more, it also includes a compatibility layer allowing you to require ESM packages in CJS. It's quite handy!
andrus
9 months ago
|
root
|
parent
|
next
[–]
Don’t recent Node.js releases support this already? require(esm) was back ported to Node.js 20 in February
joshuat
9 months ago
|
prev
[–]
With node24, no flag needed. These tools are really great and I'm happy to see improvement in the space, but I'm even happier to be able to start getting rid of them with native node improvements.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: