4 ms·
We just switched from TypeScript/ts-node to esbuild for server-side code at Notion; it's been great. Would love to see the same kind of speed wins for our clien
by jitl 6y ago
We just switched from TypeScript/ts-node to esbuild for server-side code at Notion; it's been great. Would love to see the same kind of speed wins for our clients :')
- nojvek 6y agoDo you prebuild and run or use some kind of node -r (module register). Btw I interviewed at Notion but didn’t make the soft skill bar. Big fan of the product.
- jitl 6y agoWe’re using a node -r esbuild-loader.js kinda thing with very simple mtime-based cache. It’s like 50 lines; we opted to write our own because we wanted the absolute latest version of esbuild so we could use the recent speed ups to the sync interface.
- nojvek 6y agoDid you open source it? Would love to use it as replacement for ts-node.