Build, Compress, Minify, Uglify? #732
-
I'm curious if we can use any build process to reduce the size of code for performance - and then use that final .mjs with zx. Consider builders like https://github.com/vercel/ncc. It seems we wouldn't be able to use a shebang in the source if we transpile it ... or maybe we need to post-process such code to insert the shebang at the top? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Yeap. Already implemented by @antongolub |
Beta Was this translation helpful? Give feedback.
-
I'm very sorry for missing this. Could you please point me to some documentation on this in the main branch or a pending branch or PR? |
Beta Was this translation helpful? Give feedback.
Landed as part of v8.0.0. You can review bundler scripts in the main branch.