Expanded TypeScript support

  06 May 2025   1 min read

In addition to supporting ts-node to compile your TypeScript imports, Quokka now also supports tsx and @swc-node/register. These tools use less memory and are faster than ts-node while natively handling ESM, JSX/TSX and other modern syntax and TypeScript features that are not be supported by ts-node. To load your TypeScript imports with tsx or @swc-node/register (instead of ts-node) simply install in your project (e.g. npm install tsx -D) or as a global Quokka dependency. More info available in our docs.