bobc
bobc•2d ago

emit in Deno 2.0

I am building a distributed app that uses websockets to synchronous several "devices/browsers". On the backend I have a webSocket server that passes messages to all clients. The client themselves have a very simple UI. Becuase of their simple structure and only commonality is sharing of a class that maintains the webSock back to the server, bundleing seems unnecessary. However I can not find "emit" in deno 2.0. If I just want to transpile files and put them in a public directory for the front end without bundleing - how would I do this ?
1 Reply

Did you find this page helpful?