DenoDDeno
Powered by
CaramastiferC
Denoβ€’3y agoβ€’
4 replies
Caramastifer

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...
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Bunle OAK static assets to the compiled binary
leftdevLleftdev / help
3y ago
CSP Middleware for OAK?
elekramEelekram / help
3y ago
Using Deno 2 for simple HMR/static site dev server with Vite
Orion ReedOOrion Reed / help
17mo ago