Use vite+tsup to recompile node-pty into esm, which is smaller in size.
github.com/KarinJS/node-pty
KarinJS/node-pty