Comment

Comment by seniorsassycat

The article suggests that you ship typescript so the app would compile down to esm or cjs.

Node 22 has an experimental flag that supports requiring esm as long as there's no top-level await

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton