Hacker News new | ask | show | jobs
by nllsh 1555 days ago
How are you using Deno with minified code? Do you mean importing a minified script like https://cdn.jsdelivr.net/npm/react/cjs/react.production.min.... ?
1 comments

I meant bundling your code for production.
Why would you need to do that for code running on Deno? It doesn't need to be sent over the wire.
Obviously not for server code. Example: serve 'src/app.js' uncompressed during development, and 'assets/app.min.js' during production.