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
Node 22 has an experimental flag that supports requiring esm as long as there's no top-level await