Deno support TypeScript and I believe Deno already has bundler tooling, your source code will be compiled as ES, you can read about Deno bundler here deno.land/manual/tools/bundler
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.
What build tools do you use for the frontend? Do you consider non-Node.js based, like esbuild, or do you use traditional ones?
Deno support TypeScript and I believe Deno already has bundler tooling, your source code will be compiled as ES, you can read about Deno bundler here deno.land/manual/tools/bundler
You don't minify, or build
nomodule
?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: