I don't think TypeScript (or Deno) can compile codes into minify version 😁, but we can do that later using terser or TypeScript plugin or similar tool. That's what I know, maybe someone knows better than me ✌️
I'm a self-taught dev focused on websites and Python development.
My friends call me the "Data Genie".
When I get bored, I find tech to read about, write about and build things with.
I don't think TypeScript (or Deno) can compile codes into minify version 😁, but we can do that later using terser or TypeScript plugin or similar tool. That's what I know, maybe someone knows better than me ✌️
But why to minify the backend code?
I agree with you, with Deno we can run our code faster enough on the server, even we're not bundling it.
Yes, I was referring to frontend code, with problems of
I almost never minify backend code. Just mere
tsc
. Not even Babel. Never that big compared tonode_modules
anyway.Thats why Deno is the big rescue here 😁, we don't need node_modules anymore.
There's an open issue for this.
github.com/denoland/deno/issues/6900
Recommended alternative by a commenter: