Y
Hacker News
new
|
ask
|
show
|
jobs
by
seumars
1557 days ago
I meant bundling your code for production.
2 comments
mark_and_sweep
1557 days ago
You can use `deno bundle`:
https://deno.land/manual@v1.20.1/tools/bundler.md
link
tonyedgecombe
1557 days ago
Why would you need to do that for code running on Deno? It doesn't need to be sent over the wire.
link
seumars
1557 days ago
Obviously not for server code. Example: serve 'src/app.js' uncompressed during development, and 'assets/app.min.js' during production.
link
https://deno.land/manual@v1.20.1/tools/bundler.md