how to use .ts files (or their compiled .js equivalents) in the browser?
Does Deno have a builtin way to compile ts into js for such purposes, or is there a design pattern that is recommended to make this possible, or am I stuck using webpack?
I am playing with the Node crypto lib and I want to use the functions I've written in the browser's socket.io client-side code to encrypt the data that gets sent to the socket.io/deno server-side code.
2 Replies
no built in patter. Most folks use vite or esbuild + their respective deno plugin
thanks. I'll look more into the tutorials around vite and deno.