Taymoor
banner
taymoor.me
Taymoor
@taymoor.me
berkeley born and raised. makes buttons blue @ CiscoSecure. #FTTB 🇺🇸🇵🇰
Pinned
Taymoor @taymoor.me · Nov 11
I’m not changing my pfp
Everybody needs to know that Troy dressed up as Crazy Pharaoh to help Abed get a job
But here’s a pic of me
News so ground breaking it caused an earthquake and tsunami 🌊
December 5, 2024 at 8:09 PM
This means that you can import (and export for libraries) alias pathed typescript source code across you’re entire project (including test files) and Node, Bun, and Deno will just execute it no problem
Bundlers will resolve paths correctly even if you’re calling them from node_modules
December 4, 2024 at 10:03 PM
And with Typescript 5.7 allowing .ts file extension in imports
You can use Node’s subpath imports to have native path aliasing using #src (# is important)
The platform will now resolve your aliased paths without the need of a tsconfig (however it’s still needed for typescript tooling like vscode)
December 4, 2024 at 10:03 PM
With Node 22 & 23 execute .ts via experimental strip types flag
Bun & Deno

Any server and library code should no longer be bundled

Bundling should be left for legacy platforms and web runtimes and TSC/Vite will do that on behalf of library consumers
And you should use exports to filter them
December 4, 2024 at 10:03 PM
I’m not changing my pfp
Everybody needs to know that Troy dressed up as Crazy Pharaoh to help Abed get a job
But here’s a pic of me
November 11, 2024 at 11:58 PM