Optimize for Prod simple static vanilla JS script - WebServer App with Oak + DEJS
Using DEJS to render views. Those views are served by Oak, according to the defined routes. What is the best approach to include a simple js script file, for client interactions (like switching on and off a button) in the view, but making sure that when going to Production it gets optimized? Minified, Compressed... maybe have some cache management...
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
D
Deno
Chat about Deno, a modern runtime for JavaScript and TypeScript.